Class: Paymill::Merchant

Inherits:
Object
  • Object
show all
Defined in:
lib/paymill/models/merchant.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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