Class: Asaas::Api::Subscription
- Defined in:
- lib/asaas/api/subscription.rb
Instance Attribute Summary
Attributes inherited from Base
#endpoint, #errors, #meta, #route, #success, #token
Instance Method Summary collapse
-
#initialize(token, api_version) ⇒ Subscription
constructor
A new instance of Subscription.
Methods inherited from Base
#create, #delete, #extract_meta, #get, #list, #update
Constructor Details
#initialize(token, api_version) ⇒ Subscription
Returns a new instance of Subscription.
5 6 7 |
# File 'lib/asaas/api/subscription.rb', line 5 def initialize(token, api_version) super(token, api_version, '/subscriptions') end |