Class: LunchMoney::Objects::Config
- Defined in:
- lib/lunchmoney/objects/config.rb
Overview
Instance Attribute Summary collapse
-
#amount ⇒ Object
Returns the value of attribute amount.
-
#auto_suggest ⇒ Object
Returns the value of attribute auto_suggest.
-
#cadence ⇒ Object
Returns the value of attribute cadence.
-
#config_id ⇒ Object
Returns the value of attribute config_id.
-
#currency ⇒ Object
Returns the value of attribute currency.
-
#to_base ⇒ Object
Returns the value of attribute to_base.
Instance Method Summary collapse
-
#initialize(config_id:, cadence:, amount:, currency:, to_base:, auto_suggest:) ⇒ Config
constructor
A new instance of Config.
Methods inherited from Object
Constructor Details
#initialize(config_id:, cadence:, amount:, currency:, to_base:, auto_suggest:) ⇒ Config
Returns a new instance of Config.
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
#amount ⇒ Object
Returns the value of attribute amount.
14 15 16 |
# File 'lib/lunchmoney/objects/config.rb', line 14 def amount @amount end |
#auto_suggest ⇒ Object
Returns the value of attribute auto_suggest.
17 18 19 |
# File 'lib/lunchmoney/objects/config.rb', line 17 def auto_suggest @auto_suggest end |
#cadence ⇒ Object
Returns the value of attribute cadence.
17 18 19 |
# File 'lib/lunchmoney/objects/config.rb', line 17 def cadence @cadence end |
#config_id ⇒ Object
Returns the value of attribute config_id.
11 12 13 |
# File 'lib/lunchmoney/objects/config.rb', line 11 def config_id @config_id end |
#currency ⇒ Object
Returns the value of attribute currency.
17 18 19 |
# File 'lib/lunchmoney/objects/config.rb', line 17 def currency @currency end |
#to_base ⇒ Object
Returns the value of attribute to_base.
14 15 16 |
# File 'lib/lunchmoney/objects/config.rb', line 14 def to_base @to_base end |