Skip to content

Gem for interacting with 3scale API from your Rails application

License

Notifications You must be signed in to change notification settings

IDTLabs/3scale_api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

513fb64 · May 5, 2015

History

36 Commits
May 5, 2015
May 5, 2015
May 5, 2015
Mar 27, 2015
Mar 27, 2015
May 5, 2015
May 5, 2015
Mar 25, 2015
May 5, 2015
Mar 26, 2015

Repository files navigation

3scale - API

Join the chat at https://gitter.im/IDTLabs/threescale_api Gem Version

This gem will allow developers to interact with 3Scale's APIs.

Installation

Add this line to your application's Gemfile:

gem '3scale_api'

And then execute:

$ bundle

Or install it yourself as:

$ gem install 3scale_api

Configure

Initialize the settings as follows:

require "3scale_api"
Threescale.configure do |config|
  config.provider_key = ENV["THREESCALE_PROVIDER_KEY"]
  config.base_url = ENV["THREESCALE_URL"]
end

Contributing

  1. Fork it ( https://github.com/[my-github-username]/threescale_api/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request