Class: LunchMoney::Objects::RecurringExpenseBase
- Defined in:
- lib/lunchmoney/objects/recurring_expense_base.rb
Overview
Direct Known Subclasses
Instance Attribute Summary collapse
Instance Method Summary collapse
Methods inherited from Object
Constructor Details
#initialize(payee:, amount:, currency:, to_base:) ⇒ void
22 23 24 25 26 27 28 |
# File 'lib/lunchmoney/objects/recurring_expense_base.rb', line 22 def initialize(payee:, amount:, currency:, to_base:) super() @payee = payee @amount = amount @currency = currency @to_base = to_base end |
Instance Attribute Details
#amount ⇒ String
9 10 11 |
# File 'lib/lunchmoney/objects/recurring_expense_base.rb', line 9 def amount @amount end |
#currency ⇒ String
9 10 11 |
# File 'lib/lunchmoney/objects/recurring_expense_base.rb', line 9 def currency @currency end |
#payee ⇒ String
9 10 11 |
# File 'lib/lunchmoney/objects/recurring_expense_base.rb', line 9 def payee @payee end |
#to_base ⇒ Number?
12 13 14 |
# File 'lib/lunchmoney/objects/recurring_expense_base.rb', line 12 def to_base @to_base end |