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