Class: Lago::Api::Resources::Customers::Subscription

Inherits:
Base
  • Object
show all
Defined in:
lib/lago/api/resources/customers/subscription.rb

Instance Attribute Summary

Attributes inherited from Base

#client

Instance Method Summary collapse

Methods inherited from Base

#base_api_resource, #create, #destroy, #get, #initialize, #update

Methods inherited from Base

#create, #destroy, #get, #get_all, #initialize, #update, #whitelist_params

Constructor Details

This class inherits a constructor from Lago::Api::Resources::Customers::Base

Instance Method Details

#api_resourceObject



10
11
12
# File 'lib/lago/api/resources/customers/subscription.rb', line 10

def api_resource
  "#{base_api_resource}/subscriptions"
end

#root_nameObject



14
15
16
# File 'lib/lago/api/resources/customers/subscription.rb', line 14

def root_name
  'subscription'
end