Class: Pokepay::Response::ShopWithMetadata
- Inherits:
-
Object
- Object
- Pokepay::Response::ShopWithMetadata
- Defined in:
- lib/pokepay_partner_ruby_sdk/response/shop_with_metadata.rb
Instance Attribute Summary collapse
-
#address ⇒ Object
readonly
Returns the value of attribute address.
-
#email ⇒ Object
readonly
Returns the value of attribute email.
-
#external_id ⇒ Object
readonly
Returns the value of attribute external_id.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#organization_code ⇒ Object
readonly
Returns the value of attribute organization_code.
-
#postal_code ⇒ Object
readonly
Returns the value of attribute postal_code.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
-
#tel ⇒ Object
readonly
Returns the value of attribute tel.
Instance Method Summary collapse
-
#initialize(row) ⇒ ShopWithMetadata
constructor
A new instance of ShopWithMetadata.
Constructor Details
#initialize(row) ⇒ ShopWithMetadata
Returns a new instance of ShopWithMetadata.
6 7 8 9 10 11 12 13 14 15 16 |
# File 'lib/pokepay_partner_ruby_sdk/response/shop_with_metadata.rb', line 6 def initialize(row) @id = row["id"] @name = row["name"] @organization_code = row["organization_code"] @status = row["status"] @postal_code = row["postal_code"] @address = row["address"] @tel = row["tel"] @email = row["email"] @external_id = row["external_id"] end |
Instance Attribute Details
#address ⇒ Object (readonly)
Returns the value of attribute address.
22 23 24 |
# File 'lib/pokepay_partner_ruby_sdk/response/shop_with_metadata.rb', line 22 def address @address end |
#email ⇒ Object (readonly)
Returns the value of attribute email.
24 25 26 |
# File 'lib/pokepay_partner_ruby_sdk/response/shop_with_metadata.rb', line 24 def email @email end |
#external_id ⇒ Object (readonly)
Returns the value of attribute external_id.
25 26 27 |
# File 'lib/pokepay_partner_ruby_sdk/response/shop_with_metadata.rb', line 25 def external_id @external_id end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
17 18 19 |
# File 'lib/pokepay_partner_ruby_sdk/response/shop_with_metadata.rb', line 17 def id @id end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
18 19 20 |
# File 'lib/pokepay_partner_ruby_sdk/response/shop_with_metadata.rb', line 18 def name @name end |
#organization_code ⇒ Object (readonly)
Returns the value of attribute organization_code.
19 20 21 |
# File 'lib/pokepay_partner_ruby_sdk/response/shop_with_metadata.rb', line 19 def organization_code @organization_code end |
#postal_code ⇒ Object (readonly)
Returns the value of attribute postal_code.
21 22 23 |
# File 'lib/pokepay_partner_ruby_sdk/response/shop_with_metadata.rb', line 21 def postal_code @postal_code end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
20 21 22 |
# File 'lib/pokepay_partner_ruby_sdk/response/shop_with_metadata.rb', line 20 def status @status end |
#tel ⇒ Object (readonly)
Returns the value of attribute tel.
23 24 25 |
# File 'lib/pokepay_partner_ruby_sdk/response/shop_with_metadata.rb', line 23 def tel @tel end |