Sha256: 2ca3a243759e1e558460a99c68a18ad6ef794d2f322c2e9944baf8d4d9ccee68

Contents?: true

Size: 395 Bytes

Versions: 7

Compression:

Stored size: 395 Bytes

Contents

module Todoist
  module Misc
    class Quick < Todoist::Service
        include Todoist::Util 

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

    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
todoist-ruby-0.2.7 lib/todoist/misc/quick.rb
todoist-ruby-0.2.6 lib/todoist/misc/quick.rb
todoist-ruby-0.2.5 lib/todoist/misc/quick.rb
todoist-ruby-0.2.4 lib/todoist/misc/quick.rb
todoist-ruby-0.2.3 lib/todoist/misc/quick.rb
todoist-ruby-0.2.2 lib/todoist/misc/quick.rb
todoist-ruby-0.2.1 lib/todoist/misc/quick.rb