Module: Smartcoin::ApiOperations::List
- Included in:
- Charge, Customer, Plan, Subscription
- Defined in:
- lib/smartcoin/api_operations/list.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(base) ⇒ Object
10 11 12 |
# File 'lib/smartcoin/api_operations/list.rb', line 10 def self.included(base) base.extend(List) end |
Instance Method Details
#list_all(params = nil) ⇒ Object
4 5 6 7 8 |
# File 'lib/smartcoin/api_operations/list.rb', line 4 def list_all(params=nil) method = :get response = api_request(url, method, params) create_from(response) end |