Class: MonoMerchant::Submerchant::List
- Inherits:
-
ApiRequest
- Object
- ApiRequest
- MonoMerchant::Submerchant::List
- Defined in:
- lib/mono-merchant/submerchant/list.rb
Overview
Get list of sub-merchants
Constant Summary
Constants inherited from ApiRequest
ApiRequest::API_URL, ApiRequest::DEFAULT_CURRENCY
Instance Attribute Summary
Attributes inherited from ApiRequest
Instance Method Summary collapse
-
#data ⇒ Object
todo: make array of objects from response list (code, edrpou, iban)?.
-
#initialize ⇒ List
constructor
A new instance of List.
Methods inherited from ApiRequest
Constructor Details
#initialize ⇒ List
Returns a new instance of List.
7 8 9 |
# File 'lib/mono-merchant/submerchant/list.rb', line 7 def initialize super(type: :get) end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class MonoMerchant::ApiRequest
Instance Method Details
#data ⇒ Object
todo: make array of objects from response list (code, edrpou, iban)?
12 13 14 |
# File 'lib/mono-merchant/submerchant/list.rb', line 12 def data %w[list] end |