Class: Paymill::Merchant
- Inherits:
-
Object
- Object
- Paymill::Merchant
- Defined in:
- lib/paymill/models/merchant.rb
Instance Attribute Summary collapse
-
#country ⇒ Object
Returns the value of attribute country.
-
#currencies ⇒ Object
Returns the value of attribute currencies.
-
#email ⇒ Object
Returns the value of attribute email.
-
#identifier_key ⇒ Object
Returns the value of attribute identifier_key.
-
#locale ⇒ Object
Returns the value of attribute locale.
-
#methods ⇒ Object
Returns the value of attribute methods.
Instance Method Summary collapse
-
#initialize(json) ⇒ Merchant
constructor
A new instance of Merchant.
Constructor Details
#initialize(json) ⇒ Merchant
Returns a new instance of Merchant.
6 7 8 |
# File 'lib/paymill/models/merchant.rb', line 6 def initialize( json ) deserialize( json ) end |
Instance Attribute Details
#country ⇒ Object
Returns the value of attribute country.
4 5 6 |
# File 'lib/paymill/models/merchant.rb', line 4 def country @country end |
#currencies ⇒ Object
Returns the value of attribute currencies.
4 5 6 |
# File 'lib/paymill/models/merchant.rb', line 4 def currencies @currencies end |
#email ⇒ Object
Returns the value of attribute email.
4 5 6 |
# File 'lib/paymill/models/merchant.rb', line 4 def email @email end |
#identifier_key ⇒ Object
Returns the value of attribute identifier_key.
4 5 6 |
# File 'lib/paymill/models/merchant.rb', line 4 def identifier_key @identifier_key end |
#locale ⇒ Object
Returns the value of attribute locale.
4 5 6 |
# File 'lib/paymill/models/merchant.rb', line 4 def locale @locale end |
#methods ⇒ Object
Returns the value of attribute methods.
4 5 6 |
# File 'lib/paymill/models/merchant.rb', line 4 def methods @methods end |