Class: Paymill::PaymentMethod
- Inherits:
-
Object
- Object
- Paymill::PaymentMethod
- Defined in:
- lib/paymill/models/payment_method.rb
Instance Attribute Summary collapse
-
#acquirer ⇒ Object
Returns the value of attribute acquirer.
-
#currency ⇒ Object
Returns the value of attribute currency.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(json) ⇒ PaymentMethod
constructor
A new instance of PaymentMethod.
Constructor Details
#initialize(json) ⇒ PaymentMethod
Returns a new instance of PaymentMethod.
6 7 8 |
# File 'lib/paymill/models/payment_method.rb', line 6 def initialize( json ) deserialize( json ) end |
Instance Attribute Details
#acquirer ⇒ Object
Returns the value of attribute acquirer.
4 5 6 |
# File 'lib/paymill/models/payment_method.rb', line 4 def acquirer @acquirer end |
#currency ⇒ Object
Returns the value of attribute currency.
4 5 6 |
# File 'lib/paymill/models/payment_method.rb', line 4 def currency @currency end |
#type ⇒ Object
Returns the value of attribute type.
4 5 6 |
# File 'lib/paymill/models/payment_method.rb', line 4 def type @type end |