RouteNGNClient
Installation
Add this line to your application's Gemfile:
gem 'routengn-client'
And then execute:
$ bundle
Or install it yourself as:
$ gem install routengn-client
Usage
MultiJson.use :yajl # set your prefered JSON library
Faraday.default_adapter = :excon # set your preferred HTTP adapter
RouteNGNClient.connect :uri => 'http://web.clusterx.routengn.com', :api_key => 'yourkey' # connect to RouteNGN
carriers = Carrier.all # profit!
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request