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