Class: LunchMoney::Objects::TagBase
- Defined in:
- lib/lunchmoney/objects/tag_base.rb
Overview
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
Instance Method Summary collapse
- #initialize(id:, name:) ⇒ void constructor
Methods inherited from Object
Constructor Details
#initialize(id:, name:) ⇒ void
16 17 18 19 20 |
# File 'lib/lunchmoney/objects/tag_base.rb', line 16 def initialize(id:, name:) super() @id = id @name = name end |
Instance Attribute Details
#id ⇒ Integer
10 11 12 |
# File 'lib/lunchmoney/objects/tag_base.rb', line 10 def id @id end |
#name ⇒ String
13 14 15 |
# File 'lib/lunchmoney/objects/tag_base.rb', line 13 def name @name end |