Class: Taskable::Item

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#complete?Object

Returns the value of attribute complete?

Returns:

  • (Object)

    the current value of complete?



11
12
13
# File 'app/models/concerns/taskable.rb', line 11

def complete?
  @complete?
end

#sourceObject

Returns the value of attribute source

Returns:

  • (Object)

    the current value of source



11
12
13
# File 'app/models/concerns/taskable.rb', line 11

def source
  @source
end

#textObject

Returns the value of attribute text

Returns:

  • (Object)

    the current value of text



11
12
13
# File 'app/models/concerns/taskable.rb', line 11

def text
  @text
end