Module: Chartmogul
- Defined in:
- lib/chartmogul/client.rb,
lib/chartmogul_client.rb,
lib/chartmogul/v1/base.rb,
lib/chartmogul/version.rb,
lib/chartmogul/v1/import.rb,
lib/chartmogul/v1/request.rb,
lib/chartmogul/v1/customers.rb,
lib/chartmogul/v1/import/plans.rb,
lib/chartmogul/v1/import/invoices.rb,
lib/chartmogul/v1/import/customers.rb,
lib/chartmogul/v1/import/subscriptions.rb
Defined Under Namespace
Constant Summary collapse
- VERSION =
'0.0.6'
Class Method Summary collapse
-
.new(account_token: nil, secret_key: nil) ⇒ Object
Public: Constructor.
Class Method Details
.new(account_token: nil, secret_key: nil) ⇒ Object
Public: Constructor.
account_token - The String ChartMogul account token. secret_key - The String ChartMogul secret key.
Returns the instance of Chartmogul::Client.
14 15 16 |
# File 'lib/chartmogul_client.rb', line 14 def new(account_token: nil, secret_key: nil) Chartmogul::Client.new(account_token: account_token, secret_key: secret_key) end |