Class: Pokepay::Response::Organization
- Inherits:
-
Object
- Object
- Pokepay::Response::Organization
- Defined in:
- lib/pokepay_partner_ruby_sdk/response/organization.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(row) ⇒ Organization
constructor
A new instance of Organization.
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
#code ⇒ Object (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 |
#name ⇒ Object (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 |