Class: Wunderlist::TaskComment
- Inherits:
-
Object
- Object
- Wunderlist::TaskComment
- Includes:
- Helper
- Defined in:
- lib/wunderlist/task_comment.rb
Instance Attribute Summary collapse
-
#created_at ⇒ Object
readonly
Returns the value of attribute created_at.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#revision ⇒ Object
readonly
Returns the value of attribute revision.
-
#task_id ⇒ Object
readonly
Returns the value of attribute task_id.
-
#text ⇒ Object
Returns the value of attribute text.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ TaskComment
constructor
A new instance of TaskComment.
- #save ⇒ Object
Methods included from Helper
Constructor Details
#initialize(options = {}) ⇒ TaskComment
Returns a new instance of TaskComment.
12 13 14 15 16 17 18 19 20 |
# File 'lib/wunderlist/task_comment.rb', line 12 def initialize( = {}) @api = ['api'] @id = ['id'] @task_id = ['task_id'] @revision = ['revision'] @text = ['text'] @type = ['type'] @created_at = ['created_at'] end |
Instance Attribute Details
#created_at ⇒ Object (readonly)
Returns the value of attribute created_at.
9 10 11 |
# File 'lib/wunderlist/task_comment.rb', line 9 def created_at @created_at end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
9 10 11 |
# File 'lib/wunderlist/task_comment.rb', line 9 def id @id end |
#revision ⇒ Object (readonly)
Returns the value of attribute revision.
9 10 11 |
# File 'lib/wunderlist/task_comment.rb', line 9 def revision @revision end |
#task_id ⇒ Object (readonly)
Returns the value of attribute task_id.
9 10 11 |
# File 'lib/wunderlist/task_comment.rb', line 9 def task_id @task_id end |
#text ⇒ Object
Returns the value of attribute text.
8 9 10 |
# File 'lib/wunderlist/task_comment.rb', line 8 def text @text end |
#type ⇒ Object
Returns the value of attribute type.
8 9 10 |
# File 'lib/wunderlist/task_comment.rb', line 8 def type @type end |
Instance Method Details
#save ⇒ Object
22 23 |
# File 'lib/wunderlist/task_comment.rb', line 22 def save end |