Class: Asaas::Api::Subscription

Inherits:
Base
  • Object
show all
Defined in:
lib/asaas/api/subscription.rb

Instance Attribute Summary

Attributes inherited from Base

#endpoint, #errors, #meta, #route, #success, #token

Instance Method Summary collapse

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