Class: Todoist::Misc::Quick
- Includes:
- Util
- Defined in:
- lib/todoist/misc/quick.rb
Instance Method Summary collapse
-
#add_item(text) ⇒ Object
Implementation of the Quick Add Task available in the official clients.
Methods inherited from Service
Constructor Details
This class inherits a constructor from Todoist::Service
Instance Method Details
#add_item(text) ⇒ Object
Implementation of the Quick Add Task available in the official clients.
8 9 10 11 |
# 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 |