Class: Financo::N26::History::Entry
- Inherits:
-
Struct
- Object
- Struct
- Financo::N26::History::Entry
- Defined in:
- lib/financo/n26/history.rb
Instance Attribute Summary collapse
-
#amount ⇒ Object
Returns the value of attribute amount.
-
#date ⇒ Object
Returns the value of attribute date.
-
#id ⇒ Object
Returns the value of attribute id.
Instance Method Summary collapse
Instance Attribute Details
#amount ⇒ Object
Returns the value of attribute amount
9 10 11 |
# File 'lib/financo/n26/history.rb', line 9 def amount @amount end |
#date ⇒ Object
Returns the value of attribute date
9 10 11 |
# File 'lib/financo/n26/history.rb', line 9 def date @date end |
#id ⇒ Object
Returns the value of attribute id
9 10 11 |
# File 'lib/financo/n26/history.rb', line 9 def id @id end |
Instance Method Details
#encode_with(coder) ⇒ Object
10 11 12 13 14 15 16 17 |
# File 'lib/financo/n26/history.rb', line 10 def encode_with(coder) coder.tag = nil coder.map = { 'id' => id, 'date' => date, 'amount' => amount } end |