Class: MonoMerchant::Invoice::PaymentInfo
- Inherits:
-
ApiRequest
- Object
- ApiRequest
- MonoMerchant::Invoice::PaymentInfo
- Defined in:
- lib/mono-merchant/invoice/payment_info.rb
Direct Known Subclasses
Constant Summary
Constants inherited from ApiRequest
ApiRequest::API_URL, ApiRequest::DEFAULT_CURRENCY
Instance Attribute Summary collapse
-
#invoice_id ⇒ Object
readonly
Returns the value of attribute invoice_id.
Attributes inherited from ApiRequest
Instance Method Summary collapse
-
#initialize(invoice_id) ⇒ PaymentInfo
constructor
A new instance of PaymentInfo.
Methods inherited from ApiRequest
Constructor Details
#initialize(invoice_id) ⇒ PaymentInfo
Returns a new instance of PaymentInfo.
10 11 12 13 |
# File 'lib/mono-merchant/invoice/payment_info.rb', line 10 def initialize(invoice_id) @invoice_id = invoice_id super(type: :get) end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class MonoMerchant::ApiRequest
Instance Attribute Details
#invoice_id ⇒ Object (readonly)
Returns the value of attribute invoice_id.
8 9 10 |
# File 'lib/mono-merchant/invoice/payment_info.rb', line 8 def invoice_id @invoice_id end |