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