Class: LunchMoney::Objects::Tag
- Defined in:
- lib/lunchmoney/objects/tag.rb
Overview
Instance Attribute Summary collapse
-
#archived ⇒ Object
Returns the value of attribute archived.
-
#description ⇒ Object
Returns the value of attribute description.
Attributes inherited from TagBase
Instance Method Summary collapse
-
#initialize(id:, name:, archived:, description: nil) ⇒ Tag
constructor
A new instance of Tag.
Methods inherited from Object
Constructor Details
#initialize(id:, name:, archived:, description: nil) ⇒ Tag
Returns a new instance of Tag.
17 18 19 20 21 |
# File 'lib/lunchmoney/objects/tag.rb', line 17 def initialize(id:, name:, archived:, description: nil) super(id:, name:) @archived = archived @description = description end |
Instance Attribute Details
#archived ⇒ Object
Returns the value of attribute archived.
14 15 16 |
# File 'lib/lunchmoney/objects/tag.rb', line 14 def archived @archived end |
#description ⇒ Object
Returns the value of attribute description.
11 12 13 |
# File 'lib/lunchmoney/objects/tag.rb', line 11 def description @description end |