Class: Taskable::Item
- Inherits:
-
Struct
- Object
- Struct
- Taskable::Item
- Defined in:
- app/models/concerns/taskable.rb
Overview
Model class for task items returned by Taskable.get_tasks, Taskable.get_updated_tasks, and #task_list_items on classes included by Taskable.
Instance Attribute Summary collapse
-
#complete? ⇒ Object
Returns the value of attribute complete?.
-
#source ⇒ Object
Returns the value of attribute source.
-
#text ⇒ Object
Returns the value of attribute text.
Instance Attribute Details
#complete? ⇒ Object
Returns the value of attribute complete?
11 12 13 |
# File 'app/models/concerns/taskable.rb', line 11 def complete? @complete? end |
#source ⇒ Object
Returns the value of attribute source
11 12 13 |
# File 'app/models/concerns/taskable.rb', line 11 def source @source end |
#text ⇒ Object
Returns the value of attribute text
11 12 13 |
# File 'app/models/concerns/taskable.rb', line 11 def text @text end |