Sha256: 46f3c98b392207eb358da202c4f0f3d2daaa957068a12b76de6e9c707e39d9c9

Contents?: true

Size: 699 Bytes

Versions: 70

Compression:

Stored size: 699 Bytes

Contents

= ChargeBee Ruby Client Library

The ruby library for integrating with ChargeBee Recurring Billing and Subscription Management solution.

== Installation

Install the latest version of the gem with the following command...

  $ sudo gem install chargebee

== Documentation

For API reference see https://apidocs.chargebee.com/docs/api?lang=ruby

== Usage

To create a new subscription:
  
  ChargeBee.configure({:api_key => "your_api_key"}, {:site => "your_site"})
  result = ChargeBee::Subscription.create({
  :id => "sub_KyVqDh__dev__NTn4VZZ1", 
  :plan_id => "basic", 
  })
  subscription = result.subscription
  puts "created subscription is #{subscription}"

== License

See the LICENSE file.

Version data entries

70 entries across 70 versions & 1 rubygems

Version Path
chargebee-1.7.1 README.rdoc
chargebee-1.7.0 README.rdoc
chargebee-1.6.9 README.rdoc
chargebee-1.6.8 README.rdoc
chargebee-1.6.7 README.rdoc
chargebee-1.6.6 README.rdoc
chargebee-1.6.5 README.rdoc
chargebee-1.6.4 README.rdoc
chargebee-1.6.3 README.rdoc
chargebee-1.6.2 README.rdoc
chargebee-1.6.1 README.rdoc
chargebee-1.6.0 README.rdoc
chargebee-1.5.9 README.rdoc
chargebee-1.5.8 README.rdoc
chargebee-1.5.7 README.rdoc
chargebee-1.5.6 README.rdoc
chargebee-1.5.5 README.rdoc
chargebee-1.5.4 README.rdoc
chargebee-1.5.3 README.rdoc
chargebee-1.5.2 README.rdoc