class HabiticaClient::Task

A user task, which can be a habit, daily, or todo.

rubocop:disable Style/UnneededInterpolation

Attributes

attribute[RW]
challenge[RW]
checklist[RW]
collapse_checklist[RW]
completed[RW]
down[RW]
every_x[RW]
frequency[RW]
group[RW]
history[RW]
id[RW]
notes[RW]
priority[RW]
reminders[RW]
repeat[RW]
streak[RW]
tags[RW]
text[RW]
type[RW]
up[RW]
user_id[RW]
value[RW]

Private Instance Methods

url() click to toggle source
# File lib/habitica_client/task.rb, line 38
def url
  return "#{endpoint}/#{id}" unless new?

  "#{endpoint}/user/#{id}"
end