Class: AbacatePay::Resources::Store::Balance
- Defined in:
- lib/abacate_pay/resources/store/balance.rb
Overview
Represents the available balance of a store.
Instance Attribute Summary collapse
-
#available ⇒ Object
readonly
Returns the value of attribute available.
-
#blocked ⇒ Object
readonly
Returns the value of attribute blocked.
-
#pending ⇒ Object
readonly
Returns the value of attribute pending.
Instance Method Summary collapse
-
#initialize(data) ⇒ Balance
constructor
A new instance of Balance.
Constructor Details
#initialize(data) ⇒ Balance
Returns a new instance of Balance.
10 11 12 |
# File 'lib/abacate_pay/resources/store/balance.rb', line 10 def initialize(data) fill(data) end |
Instance Attribute Details
#available ⇒ Object
Returns the value of attribute available.
8 9 10 |
# File 'lib/abacate_pay/resources/store/balance.rb', line 8 def available @available end |
#blocked ⇒ Object
Returns the value of attribute blocked.
8 9 10 |
# File 'lib/abacate_pay/resources/store/balance.rb', line 8 def blocked @blocked end |
#pending ⇒ Object
Returns the value of attribute pending.
8 9 10 |
# File 'lib/abacate_pay/resources/store/balance.rb', line 8 def pending @pending end |