Class: Lago::Api::Resources::Customers::Wallets::Base
- Defined in:
- lib/lago/api/resources/customers/wallets/base.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Nested
#create, #destroy, #get, #get_all, #initialize, #update
Methods inherited from Base
#api_resource, #create, #destroy, #get, #get_all, #initialize, #root_name, #update, #whitelist_params
Constructor Details
This class inherits a constructor from Lago::Api::Resources::Nested
Instance Method Details
#base_api_resource(customer_id, wallet_code) ⇒ Object
9 10 11 |
# File 'lib/lago/api/resources/customers/wallets/base.rb', line 9 def base_api_resource(customer_id, wallet_code) URI.join(client.base_api_url, "customers/#{customer_id}/wallets/#{wallet_code}") end |