Class: HabiticaClient::User::Task
- Extended by:
- DateAccessor, Hashup
- Defined in:
- lib/habitica_client/user/task.rb,
lib/habitica_client/user/task/type.rb,
lib/habitica_client/user/task/status.rb,
lib/habitica_client/user/task/date_accessor.rb
Overview
A user task, which can be a habit, daily, or todo.
Defined Under Namespace
Modules: DateAccessor, Status, Type
Instance Attribute Summary collapse
-
#attribute ⇒ Object
Returns the value of attribute attribute.
-
#challenge ⇒ Object
Returns the value of attribute challenge.
-
#checklist ⇒ Object
Returns the value of attribute checklist.
-
#collapse_checklist ⇒ Object
Returns the value of attribute collapse_checklist.
-
#completed ⇒ Object
Returns the value of attribute completed.
-
#down ⇒ Object
Returns the value of attribute down.
-
#every_x ⇒ Object
Returns the value of attribute every_x.
-
#frequency ⇒ Object
Returns the value of attribute frequency.
-
#history ⇒ Object
Returns the value of attribute history.
-
#id ⇒ Object
Returns the value of attribute id.
-
#notes ⇒ Object
Returns the value of attribute notes.
-
#priority ⇒ Object
Returns the value of attribute priority.
-
#repeat ⇒ Object
Returns the value of attribute repeat.
-
#streak ⇒ Object
Returns the value of attribute streak.
-
#tags ⇒ Object
Returns the value of attribute tags.
-
#text ⇒ Object
Returns the value of attribute text.
-
#type ⇒ Object
Returns the value of attribute type.
-
#up ⇒ Object
Returns the value of attribute up.
-
#value ⇒ Object
Returns the value of attribute value.
Attributes inherited from ApiBase
Method Summary
Methods included from DateAccessor
Methods included from Hashup
Methods included from Type
Methods included from Status
Methods inherited from Restful
#attributes=, #delete, #initialize, #new?, #save, #to_json
Methods included from Restful::ClassMethods
Methods inherited from ApiBase
Constructor Details
This class inherits a constructor from HabiticaClient::Restful
Instance Attribute Details
#attribute ⇒ Object
Returns the value of attribute attribute.
21 22 23 |
# File 'lib/habitica_client/user/task.rb', line 21 def attribute @attribute end |
#challenge ⇒ Object
Returns the value of attribute challenge.
21 22 23 |
# File 'lib/habitica_client/user/task.rb', line 21 def challenge @challenge end |
#checklist ⇒ Object
Returns the value of attribute checklist.
21 22 23 |
# File 'lib/habitica_client/user/task.rb', line 21 def checklist @checklist end |
#collapse_checklist ⇒ Object
Returns the value of attribute collapse_checklist.
21 22 23 |
# File 'lib/habitica_client/user/task.rb', line 21 def collapse_checklist @collapse_checklist end |
#completed ⇒ Object
Returns the value of attribute completed.
21 22 23 |
# File 'lib/habitica_client/user/task.rb', line 21 def completed @completed end |
#down ⇒ Object
Returns the value of attribute down.
21 22 23 |
# File 'lib/habitica_client/user/task.rb', line 21 def down @down end |
#every_x ⇒ Object
Returns the value of attribute every_x.
21 22 23 |
# File 'lib/habitica_client/user/task.rb', line 21 def every_x @every_x end |
#frequency ⇒ Object
Returns the value of attribute frequency.
21 22 23 |
# File 'lib/habitica_client/user/task.rb', line 21 def frequency @frequency end |
#history ⇒ Object
Returns the value of attribute history.
21 22 23 |
# File 'lib/habitica_client/user/task.rb', line 21 def history @history end |
#id ⇒ Object
Returns the value of attribute id.
21 22 23 |
# File 'lib/habitica_client/user/task.rb', line 21 def id @id end |
#notes ⇒ Object
Returns the value of attribute notes.
21 22 23 |
# File 'lib/habitica_client/user/task.rb', line 21 def notes @notes end |
#priority ⇒ Object
Returns the value of attribute priority.
21 22 23 |
# File 'lib/habitica_client/user/task.rb', line 21 def priority @priority end |
#repeat ⇒ Object
Returns the value of attribute repeat.
21 22 23 |
# File 'lib/habitica_client/user/task.rb', line 21 def repeat @repeat end |
#streak ⇒ Object
Returns the value of attribute streak.
21 22 23 |
# File 'lib/habitica_client/user/task.rb', line 21 def streak @streak end |
#tags ⇒ Object
Returns the value of attribute tags.
21 22 23 |
# File 'lib/habitica_client/user/task.rb', line 21 def @tags end |
#text ⇒ Object
Returns the value of attribute text.
21 22 23 |
# File 'lib/habitica_client/user/task.rb', line 21 def text @text end |
#type ⇒ Object
Returns the value of attribute type.
21 22 23 |
# File 'lib/habitica_client/user/task.rb', line 21 def type @type end |
#up ⇒ Object
Returns the value of attribute up.
21 22 23 |
# File 'lib/habitica_client/user/task.rb', line 21 def up @up end |
#value ⇒ Object
Returns the value of attribute value.
21 22 23 |
# File 'lib/habitica_client/user/task.rb', line 21 def value @value end |