Skip to content
Cheddar Getter API Client for Ruby
Latest commit f3942d3 Jan 4, 2016 @marcguyer marcguyer Merge pull request #11 from whitecl/master
Fix duplicated httparty dependency in gemspec. Closes #10
Failed to load latest commit information.
lib Make delete_all_customers API work past the "Confirm value must be a … Aug 6, 2011
test fix deprecations on get_customers api. replaced with get_customer_lis… Aug 6, 2011
.document Initial commit to cheddargetter_client_ruby. Dec 7, 2010
.gitignore Adding rvmrc to gitignore. May 6, 2011
Gemfile Add crack dependency to Gemfile Sep 20, 2011
LICENSE.txt inital pass Dec 7, 2010
README.rdoc Example code had invalid syntax. May 11, 2012
Rakefile inital pass Dec 7, 2010
VERSION Version bump to 0.3.2 May 16, 2011
cheddargetter_client_ruby.gemspec Fix duplicated httparty dependency in gemspec Jan 1, 2016


Cheddar Getter API Client for Ruby

This is a Ruby wrapper for the CheddarGetter API. It allows you to interface with the Cheddar Getter API using simple calls, i.e.:

client = => "YOUR_PRODUCT_CODE",
                                   :username => "",
                                   :password => "your.password")

  :code      => 'EXAMPLE_CUSTOMER',
  :firstName => 'Example',
  :lastName  => 'Customer',
  :email     => '',
  :subscription => {
    :planCode     => 'THE_PLAN_CODE',
    :ccFirstName  => 'Example',
    :ccLastName   => 'Customer',
    :ccNumber     => '4111111111111111',
    :ccExpiration => '04/2011',
    :ccZip        => '90210'

See the `example` directory for more usage examples. It is modeled directly after cheddargetter-client-php, the official PHP library, with a number of ruby-isms to make life easier.


This library should be installed as a gem. It is hosted on Gemcutter.

If you don't have your system set up to use gemcutter, follow the instructions on their site, i.e.:

$ gem install gemcutter
$ gem tumble

This will install Gemcutter and set your gem sources to search the gemcutter repos.

Then you can install this library as a gem:

$ gem install cheddargetter_client_ruby


This library requires HTTParty version 0.4.3 or greater.

$ gem install httparty


Simply require this library before you use it:

require 'cheddargetter_client_ruby'

If you're using Rails, you could include this gem in your configuration, i.e. in `environment.rb`

config.gem 'cheddargetter_client_ruby'

Check out the example to see usage details. You can also check out the Cheddar Getter API documention.


Copyright © 2011 Expected Behavior. See LICENSE.txt for further details.

Something went wrong with that request. Please try again.