Class: LunchMoney::Objects::Data
- Defined in:
- lib/lunchmoney/objects/data.rb
Overview
Instance Attribute Summary collapse
- #budget_amount ⇒ Number?
- #budget_currency ⇒ String?
- #budget_to_base ⇒ Number?
- #is_automated ⇒ Boolean?
-
#num_transactions ⇒ Integer?
API object reference documentation: lunchmoney.dev/#data-object.
- #spending_to_base ⇒ Number?
Instance Method Summary collapse
Methods inherited from Object
Constructor Details
#initialize(spending_to_base: nil, num_transactions: nil, budget_amount: nil, budget_currency: nil, budget_to_base: nil, is_automated: nil) ⇒ void
32 33 34 35 36 37 38 39 40 41 |
# File 'lib/lunchmoney/objects/data.rb', line 32 def initialize(spending_to_base: nil, num_transactions: nil, budget_amount: nil, budget_currency: nil, budget_to_base: nil, is_automated: nil) super() @budget_amount = budget_amount @budget_currency = budget_currency @budget_to_base = budget_to_base @spending_to_base = spending_to_base @num_transactions = num_transactions @is_automated = is_automated end |
Instance Attribute Details
#budget_amount ⇒ Number?
14 15 16 |
# File 'lib/lunchmoney/objects/data.rb', line 14 def budget_amount @budget_amount end |
#budget_currency ⇒ String?
17 18 19 |
# File 'lib/lunchmoney/objects/data.rb', line 17 def budget_currency @budget_currency end |
#budget_to_base ⇒ Number?
14 15 16 |
# File 'lib/lunchmoney/objects/data.rb', line 14 def budget_to_base @budget_to_base end |
#is_automated ⇒ Boolean?
20 21 22 |
# File 'lib/lunchmoney/objects/data.rb', line 20 def is_automated @is_automated end |
#num_transactions ⇒ Integer?
API object reference documentation: lunchmoney.dev/#data-object
11 12 13 |
# File 'lib/lunchmoney/objects/data.rb', line 11 def num_transactions @num_transactions end |
#spending_to_base ⇒ Number?
14 15 16 |
# File 'lib/lunchmoney/objects/data.rb', line 14 def spending_to_base @spending_to_base end |