Skip to content

Engine controlling interaction between Oneclick-Core and ReferNET API

License

Notifications You must be signed in to change notification settings

camsys/oneclick_refernet

Repository files navigation

OneclickRefernet

oneclick_refernet is a Ruby Engine that provides interaction with the ReferNET 211 API.

Usage

How to use my plugin.

Installation

Add this line to your application's Gemfile:

gem 'oneclick_refernet', github: 'camsys/oneclick_refernet'

And then execute:

$ bundle install

Sample Usage

Open a rails console in your project and then execute:

include OneclickRefernet
rs = OneclickRefernet::RefernetService.new('<YOUR REFERNET API KEY>')
response = rs.search_keyword('hospital')

Contributing

To contribute to oneclick_refernet, create a pull request for review.

License

The gem is available as open source under the terms of the MIT License.