Class: LunchMoney::Objects::TagBase
- Defined in:
- lib/lunchmoney/objects/tag_base.rb
Overview
https://lunchmoney.dev/#tags-object without some fields. This is used within field returns of other objects like field returns of other objects like transactions
Direct Known Subclasses
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(id:, name:) ⇒ TagBase
constructor
A new instance of TagBase.
Methods inherited from Object
Constructor Details
#initialize(id:, name:) ⇒ TagBase
Returns a new instance of TagBase.
16 17 18 19 20 |
# File 'lib/lunchmoney/objects/tag_base.rb', line 16 def initialize(id:, name:) super() @id = id @name = name end |