Class: LunchMoney::Objects::ChildCategory
- Defined in:
- lib/lunchmoney/objects/child_category.rb
Overview
A slimmed down version of lunchmoney.dev/#categories-object used in the children
field of some category calls
Direct Known Subclasses
Instance Attribute Summary collapse
- #archived ⇒ Boolean?
- #archived_on ⇒ String?
- #created_at ⇒ String?
- #description ⇒ String?
- #id ⇒ Integer
- #name ⇒ String
- #updated_at ⇒ String?
Instance Method Summary collapse
Methods inherited from Object
Constructor Details
#initialize(id:, name:, archived: nil, archived_on: nil, updated_at: nil, created_at: nil, description: nil) ⇒ void
32 33 34 35 36 37 38 39 40 41 |
# File 'lib/lunchmoney/objects/child_category.rb', line 32 def initialize(id:, name:, archived: nil, archived_on: nil, updated_at: nil, created_at: nil, description: nil) super() @id = id @name = name @archived = archived @archived_on = archived_on @updated_at = updated_at @created_at = created_at @description = description end |
Instance Attribute Details
#archived ⇒ Boolean?
19 20 21 |
# File 'lib/lunchmoney/objects/child_category.rb', line 19 def archived @archived end |
#archived_on ⇒ String?
16 17 18 |
# File 'lib/lunchmoney/objects/child_category.rb', line 16 def archived_on @archived_on end |
#created_at ⇒ String?
16 17 18 |
# File 'lib/lunchmoney/objects/child_category.rb', line 16 def created_at @created_at end |
#description ⇒ String?
16 17 18 |
# File 'lib/lunchmoney/objects/child_category.rb', line 16 def description @description end |
#id ⇒ Integer
10 11 12 |
# File 'lib/lunchmoney/objects/child_category.rb', line 10 def id @id end |
#name ⇒ String
13 14 15 |
# File 'lib/lunchmoney/objects/child_category.rb', line 13 def name @name end |
#updated_at ⇒ String?
16 17 18 |
# File 'lib/lunchmoney/objects/child_category.rb', line 16 def updated_at @updated_at end |