Chargify API V2 Ruby Wrapper build status

This gem is meant to be used with the Chargify Direct API.

You'll need Chargify Direct credentials to interact with the Chargify V2 API, which you can get by visiting your site settings page, such as: https://your-site-subdomain.chargify.com/settings#chargify-direct

Getting Started

Install the gem, or add it to your Gemfile:

gem install chargify2

Sample Code

Check out the Chargify Direct Example App for usage examples.

View a call resource:

chargify = Chargify2::Client.new(:api_id => "f43ee0a0-4356-012e-0f5f-0025009f114a", :api_password => 'direct777test', :base_uri => "http://app.chargify.local/api/v2")
call = chargify.calls.read("4dbc42ecc21d93ec8f9bb581346dd41c5c3c2cf5")

Contributing

What to contribute:

  • Check out the project's issues page
  • Refactor something that looks messy to you!

How to contribute:

  • Fork the project.
  • Implement your feature on a topic branch.
  • Add tests for it. This is important so we don't break it in a future version unintentionally.
  • Commit, do not mess with Rakefile, version, or history. If you want to have your own version, that's fine but bump version in acommit by itself that we can ignore when we pull.
  • Send us a pull request.

Copyright (c) 2011 Chargify. See LICENSE.txt for further details.