Class: Trellodon::ChecklistItem
- Inherits:
-
Struct
- Object
- Struct
- Trellodon::ChecklistItem
- Defined in:
- lib/trellodon/entities/checklist_item.rb
Instance Attribute Summary collapse
-
#due_date ⇒ Object
Returns the value of attribute due_date.
-
#id ⇒ Object
Returns the value of attribute id.
-
#member ⇒ Object
Returns the value of attribute member.
-
#name ⇒ Object
Returns the value of attribute name.
-
#state ⇒ Object
Returns the value of attribute state.
Instance Method Summary collapse
Instance Attribute Details
#due_date ⇒ Object
Returns the value of attribute due_date
4 5 6 |
# File 'lib/trellodon/entities/checklist_item.rb', line 4 def due_date @due_date end |
#id ⇒ Object
Returns the value of attribute id
4 5 6 |
# File 'lib/trellodon/entities/checklist_item.rb', line 4 def id @id end |
#member ⇒ Object
Returns the value of attribute member
4 5 6 |
# File 'lib/trellodon/entities/checklist_item.rb', line 4 def member @member end |
#name ⇒ Object
Returns the value of attribute name
4 5 6 |
# File 'lib/trellodon/entities/checklist_item.rb', line 4 def name @name end |
#state ⇒ Object
Returns the value of attribute state
4 5 6 |
# File 'lib/trellodon/entities/checklist_item.rb', line 4 def state @state end |
Instance Method Details
#checked? ⇒ Boolean
5 6 7 |
# File 'lib/trellodon/entities/checklist_item.rb', line 5 def checked? state == "complete" end |