Class: LunchMoney::Objects::Config
- Defined in:
- lib/lunchmoney/objects/config.rb
Overview
Instance Attribute Summary collapse
- #amount ⇒ Number
- #auto_suggest ⇒ String
- #cadence ⇒ String
-
#config_id ⇒ Integer
API object reference documentation: lunchmoney.dev/#config-object.
- #currency ⇒ String
- #to_base ⇒ Number
Instance Method Summary collapse
Methods inherited from Object
Constructor Details
#initialize(config_id:, cadence:, amount:, currency:, to_base:, auto_suggest:) ⇒ void
29 30 31 32 33 34 35 36 37 |
# File 'lib/lunchmoney/objects/config.rb', line 29 def initialize(config_id:, cadence:, amount:, currency:, to_base:, auto_suggest:) super() @config_id = config_id @cadence = cadence @amount = amount @currency = currency @to_base = to_base @auto_suggest = auto_suggest end |
Instance Attribute Details
#auto_suggest ⇒ String
17 18 19 |
# File 'lib/lunchmoney/objects/config.rb', line 17 def auto_suggest @auto_suggest end |
#cadence ⇒ String
17 18 19 |
# File 'lib/lunchmoney/objects/config.rb', line 17 def cadence @cadence end |
#config_id ⇒ Integer
API object reference documentation: lunchmoney.dev/#config-object
11 12 13 |
# File 'lib/lunchmoney/objects/config.rb', line 11 def config_id @config_id end |
#currency ⇒ String
17 18 19 |
# File 'lib/lunchmoney/objects/config.rb', line 17 def currency @currency end |
#to_base ⇒ Number
14 15 16 |
# File 'lib/lunchmoney/objects/config.rb', line 14 def to_base @to_base end |