class BeanSprout::Sprout
Entry
is made up of the following fields:
-
The account owns the entry, the currency of which is defined as the local
currency;
-
The amount to be added to the account balance, in local currency;
-
Other arbitrary data.
Attributes
amount[R]
bean[R]
id[R]
Public Class Methods
new(id, bean, amount)
click to toggle source
# File lib/bean_sprout/entry.rb, line 17 def initialize id, bean, amount @id = id @bean = bean @amount = amount.to_d end