Class: Ask::Agent::TodoList::Entry
- Inherits:
-
Data
- Object
- Data
- Ask::Agent::TodoList::Entry
- Defined in:
- lib/ask/agent/todo_list.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
-
#title ⇒ Object
readonly
Returns the value of attribute title.
Instance Method Summary collapse
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id
14 15 16 |
# File 'lib/ask/agent/todo_list.rb', line 14 def id @id end |
#status ⇒ Object (readonly)
Returns the value of attribute status
14 15 16 |
# File 'lib/ask/agent/todo_list.rb', line 14 def status @status end |
#title ⇒ Object (readonly)
Returns the value of attribute title
14 15 16 |
# File 'lib/ask/agent/todo_list.rb', line 14 def title @title end |
Instance Method Details
#to_h ⇒ Object
15 |
# File 'lib/ask/agent/todo_list.rb', line 15 def to_h = { id: id, title: title, status: status } |