Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Chargify API V2 Ruby Wrapper
Ruby
Failed to load latest commit information.
lib
spec fixes method chaining for call representation on request and response…
.document Initial commit to chargify2.
.gitignore Add .ruby-version and .ruby-gemset to ignore
.rspec Initial commit to chargify2.
.travis.yml Merge pull request #23 from aceofsales/drop-1.8.7
Gemfile
Gemfile.lock fix gem release date
LICENSE.txt Fixed the representation parsing and updated the readme
README.md Added documentation for getting credentials through the new Chargify …
Rakefile Updating test suite and fixing nested hashes
VERSION fix gem release date
chargify2.gemspec Remove date from gemspec

README.md

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

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

Something went wrong with that request. Please try again.