class Todoist::Misc::Quick

Public Instance Methods

add_item(text) click to toggle source

Implementation of the Quick Add Task available in the official clients.

# File lib/todoist/misc/quick.rb, line 8
def add_item(text)
  result = @client.api_helper.get_response(Config::TODOIST_QUICK_ADD_COMMAND, {text: text})
  return ParseHelper.make_object(result)
end