Class: MonoMerchant::Qr::ResetAmount
- Inherits:
-
ApiRequest
- Object
- ApiRequest
- MonoMerchant::Qr::ResetAmount
- Defined in:
- lib/mono-merchant/qr/reset_amount.rb
Overview
Reset/remove payment
Constant Summary
Constants inherited from ApiRequest
ApiRequest::API_URL, ApiRequest::DEFAULT_CURRENCY
Instance Attribute Summary collapse
-
#qr_id ⇒ Object
readonly
Returns the value of attribute qr_id.
Attributes inherited from ApiRequest
Instance Method Summary collapse
-
#initialize(qr_id) ⇒ ResetAmount
constructor
A new instance of ResetAmount.
Methods inherited from ApiRequest
Constructor Details
#initialize(qr_id) ⇒ ResetAmount
Returns a new instance of ResetAmount.
9 10 11 12 |
# File 'lib/mono-merchant/qr/reset_amount.rb', line 9 def initialize(qr_id) @qr_id = qr_id super() end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class MonoMerchant::ApiRequest
Instance Attribute Details
#qr_id ⇒ Object (readonly)
Returns the value of attribute qr_id.
7 8 9 |
# File 'lib/mono-merchant/qr/reset_amount.rb', line 7 def qr_id @qr_id end |