Class: Ask::Agent::TodoList::Entry

Inherits:
Data
  • Object
show all
Defined in:
lib/ask/agent/todo_list.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#idObject (readonly)

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



14
15
16
# File 'lib/ask/agent/todo_list.rb', line 14

def id
  @id
end

#statusObject (readonly)

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



14
15
16
# File 'lib/ask/agent/todo_list.rb', line 14

def status
  @status
end

#titleObject (readonly)

Returns the value of attribute title

Returns:

  • (Object)

    the current value of title



14
15
16
# File 'lib/ask/agent/todo_list.rb', line 14

def title
  @title
end

Instance Method Details

#to_hObject



15
# File 'lib/ask/agent/todo_list.rb', line 15

def to_h = { id: id, title: title, status: status }