The Recurly Ruby Client library is an open source library to interact with Recurly's subscription management from your Ruby on Rails website. The library interacts with Recurly's REST API.
Please see the documentation and support forums for more information.
This library can be installed as a gem or a plugin. Your choice.
Gem Installation:
gem install recurly --source=http://gemcutter.org
Plugin Installation:
script/plugin install [email protected]:recurly/recurly-client-ruby.git
The Recurly Ruby Client requires a username and password to connect. We recommend creating a user just for your API. Please see the Authentication documentation for more information.
Create a file in your Rails app at /config/initializers/recurly_config.rb with contents like:
Recurly.configure do |c|
c.username = '[email protected]'
c.password = 'super_secret_password'
end
All the functionality is demonstrated by the unit tests in the test directory.
Please see the Recurly API for more information.