Class: AbacatePay::Resources::Store
- Defined in:
- lib/abacate_pay/resources/store.rb,
lib/abacate_pay/resources/store/balance.rb
Overview
Represents store-level account data in the AbacatePay system.
Defined Under Namespace
Classes: Balance
Constant Summary collapse
- RESOURCE_PROPERTIES =
{ balance: "AbacatePay::Resources::Store::Balance" }.freeze
Instance Attribute Summary collapse
-
#balance ⇒ Object
readonly
Returns the value of attribute balance.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(data) ⇒ Store
constructor
A new instance of Store.
Constructor Details
#initialize(data) ⇒ Store
Returns a new instance of Store.
13 14 15 |
# File 'lib/abacate_pay/resources/store.rb', line 13 def initialize(data) fill(data) end |
Instance Attribute Details
#balance ⇒ Object
Returns the value of attribute balance.
11 12 13 |
# File 'lib/abacate_pay/resources/store.rb', line 11 def balance @balance end |
#id ⇒ Object
Returns the value of attribute id.
11 12 13 |
# File 'lib/abacate_pay/resources/store.rb', line 11 def id @id end |
#name ⇒ Object
Returns the value of attribute name.
11 12 13 |
# File 'lib/abacate_pay/resources/store.rb', line 11 def name @name end |