Sha256: 92bcd23aeb5c481e87af1f0c4f89797c769dc82cbfefe21c49d4717cf6f9b123

Contents?: true

Size: 370 Bytes

Versions: 3

Compression:

Stored size: 370 Bytes

Contents

module Todoist
  module Misc
    class Quick
        include Todoist::Util 

        # Implementation of the Quick Add Task available in the official 
        # clients.
        def add_item(text)
          result = NetworkHelper.getResponse(Config::TODOIST_QUICK_ADD_COMMAND, {text: text})
          return ParseHelper.make_object(result)
        end

    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
todoist-ruby-0.1.3 lib/todoist/misc/quick.rb
todoist-ruby-0.1.2 lib/todoist/misc/quick.rb
todoist-ruby-0.1.1 lib/todoist/misc/quick.rb