Class: HabiticaClient::Task

Inherits:
Restful show all
Extended by:
DateAccessor, Hashup
Includes:
Status, Type
Defined in:
lib/habitica_client/task.rb,
lib/habitica_client/task/type.rb,
lib/habitica_client/task/status.rb,
lib/habitica_client/task/date_accessor.rb

Overview

rubocop:disable Style/UnneededInterpolation

Defined Under Namespace

Modules: DateAccessor, Status, Type

Instance Attribute Summary collapse

Attributes inherited from ApiBase

#client

Method Summary

Methods included from DateAccessor

date_accessor

Methods included from Hashup

hashup

Methods included from Type

#daily?, #habit?, #todo?

Methods included from Status

#completed?

Methods inherited from Restful

#attributes=, #delete, #initialize, #new?, #save, #to_json

Methods included from Restful::ClassMethods

#parse, #remap

Methods inherited from ApiBase

#data, #endpoint, endpoint, #initialize

Constructor Details

This class inherits a constructor from HabiticaClient::Restful

Instance Attribute Details

#attributeObject

Returns the value of attribute attribute.



23
24
25
# File 'lib/habitica_client/task.rb', line 23

def attribute
  @attribute
end

#challengeObject

Returns the value of attribute challenge.



23
24
25
# File 'lib/habitica_client/task.rb', line 23

def challenge
  @challenge
end

#checklistObject

Returns the value of attribute checklist.



23
24
25
# File 'lib/habitica_client/task.rb', line 23

def checklist
  @checklist
end

#collapse_checklistObject

Returns the value of attribute collapse_checklist.



23
24
25
# File 'lib/habitica_client/task.rb', line 23

def collapse_checklist
  @collapse_checklist
end

#completedObject

Returns the value of attribute completed.



23
24
25
# File 'lib/habitica_client/task.rb', line 23

def completed
  @completed
end

#downObject

Returns the value of attribute down.



23
24
25
# File 'lib/habitica_client/task.rb', line 23

def down
  @down
end

#every_xObject

Returns the value of attribute every_x.



23
24
25
# File 'lib/habitica_client/task.rb', line 23

def every_x
  @every_x
end

#frequencyObject

Returns the value of attribute frequency.



23
24
25
# File 'lib/habitica_client/task.rb', line 23

def frequency
  @frequency
end

#groupObject

Returns the value of attribute group.



23
24
25
# File 'lib/habitica_client/task.rb', line 23

def group
  @group
end

#historyObject

Returns the value of attribute history.



23
24
25
# File 'lib/habitica_client/task.rb', line 23

def history
  @history
end

#idObject

Returns the value of attribute id.



23
24
25
# File 'lib/habitica_client/task.rb', line 23

def id
  @id
end

#notesObject

Returns the value of attribute notes.



23
24
25
# File 'lib/habitica_client/task.rb', line 23

def notes
  @notes
end

#priorityObject

Returns the value of attribute priority.



23
24
25
# File 'lib/habitica_client/task.rb', line 23

def priority
  @priority
end

#remindersObject

Returns the value of attribute reminders.



23
24
25
# File 'lib/habitica_client/task.rb', line 23

def reminders
  @reminders
end

#repeatObject

Returns the value of attribute repeat.



23
24
25
# File 'lib/habitica_client/task.rb', line 23

def repeat
  @repeat
end

#streakObject

Returns the value of attribute streak.



23
24
25
# File 'lib/habitica_client/task.rb', line 23

def streak
  @streak
end

#tagsObject

Returns the value of attribute tags.



23
24
25
# File 'lib/habitica_client/task.rb', line 23

def tags
  @tags
end

#textObject

Returns the value of attribute text.



23
24
25
# File 'lib/habitica_client/task.rb', line 23

def text
  @text
end

#typeObject

Returns the value of attribute type.



23
24
25
# File 'lib/habitica_client/task.rb', line 23

def type
  @type
end

#upObject

Returns the value of attribute up.



23
24
25
# File 'lib/habitica_client/task.rb', line 23

def up
  @up
end

#user_idObject

Returns the value of attribute user_id.



23
24
25
# File 'lib/habitica_client/task.rb', line 23

def user_id
  @user_id
end

#valueObject

Returns the value of attribute value.



23
24
25
# File 'lib/habitica_client/task.rb', line 23

def value
  @value
end