Class: Pokepay::Response::Organization

Inherits:
Object
  • Object
show all
Defined in:
lib/pokepay_partner_ruby_sdk/response/organization.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(row) ⇒ Organization

Returns a new instance of Organization.



6
7
8
9
# File 'lib/pokepay_partner_ruby_sdk/response/organization.rb', line 6

def initialize(row)
  @code = row["code"]
  @name = row["name"]
end

Instance Attribute Details

#codeObject (readonly)

Returns the value of attribute code.



10
11
12
# File 'lib/pokepay_partner_ruby_sdk/response/organization.rb', line 10

def code
  @code
end

#nameObject (readonly)

Returns the value of attribute name.



11
12
13
# File 'lib/pokepay_partner_ruby_sdk/response/organization.rb', line 11

def name
  @name
end