Class: Pokepay::Response::AccountBalance
- Inherits:
-
Object
- Object
- Pokepay::Response::AccountBalance
- Defined in:
- lib/pokepay_partner_ruby_sdk/response/account_balance.rb
Instance Attribute Summary collapse
-
#expires_at ⇒ Object
readonly
Returns the value of attribute expires_at.
-
#money_amount ⇒ Object
readonly
Returns the value of attribute money_amount.
-
#point_amount ⇒ Object
readonly
Returns the value of attribute point_amount.
Instance Method Summary collapse
-
#initialize(row) ⇒ AccountBalance
constructor
A new instance of AccountBalance.
Constructor Details
#initialize(row) ⇒ AccountBalance
Returns a new instance of AccountBalance.
6 7 8 9 10 |
# File 'lib/pokepay_partner_ruby_sdk/response/account_balance.rb', line 6 def initialize(row) @expires_at = row["expires_at"] @money_amount = row["money_amount"] @point_amount = row["point_amount"] end |
Instance Attribute Details
#expires_at ⇒ Object (readonly)
Returns the value of attribute expires_at.
11 12 13 |
# File 'lib/pokepay_partner_ruby_sdk/response/account_balance.rb', line 11 def expires_at @expires_at end |
#money_amount ⇒ Object (readonly)
Returns the value of attribute money_amount.
12 13 14 |
# File 'lib/pokepay_partner_ruby_sdk/response/account_balance.rb', line 12 def money_amount @money_amount end |
#point_amount ⇒ Object (readonly)
Returns the value of attribute point_amount.
13 14 15 |
# File 'lib/pokepay_partner_ruby_sdk/response/account_balance.rb', line 13 def point_amount @point_amount end |