Class: Mitake::Balance
- Inherits:
-
Object
- Object
- Mitake::Balance
- Defined in:
- lib/mitake/balance.rb
Overview
Get the current balance
Instance Attribute Summary collapse
-
#amount ⇒ Integer
readonly
The amount of account point.
Class Method Summary collapse
-
.amount ⇒ Integer
Get account point.
Methods included from Model
Methods included from API
Instance Attribute Details
#amount ⇒ Integer (readonly)
Returns the amount of account point.
33 |
# File 'lib/mitake/balance.rb', line 33 attribute :amount, Integer |
Class Method Details
.amount ⇒ Integer
Get account point
18 19 20 |
# File 'lib/mitake/balance.rb', line 18 def amount execute&.first&.amount end |