Sha256: 33c18a8558990fe7f32627c302897892f297b63fc8f493b0f1e45e9ad527985d

Contents?: true

Size: 772 Bytes

Versions: 13

Compression:

Stored size: 772 Bytes

Contents

class Iknow::RestClient::List < Iknow::RestClient::Base
  
  ACTIONS = {
    :recent      => { :path => '/lists'                      },
    :find        => { :path => '/lists/__id__'               },
    :items       => { :path => '/lists/__id__/items'         },
    :sentences   => { :path => '/lists/__id__/sentences'     },
    :matching    => { :path => '/lists/matching/__keyword__' },
    :create      => { :path => '/lists',                          :http_method => :post   },
    :delete      => { :path => '/lists/__id__',                   :http_method => :delete },
    :add_item    => { :path => '/lists/__list_id__/items',        :http_method => :post   },
    :delete_item => { :path => '/lists/__list_id__/items/__id__', :http_method => :delete }
  }

end

Version data entries

13 entries across 13 versions & 2 rubygems

Version Path
nov-iknow-0.1.0 lib/iknow/rest_client/list.rb
nov-iknow-0.1.1 lib/iknow/rest_client/list.rb
nov-iknow-0.2.0 lib/iknow/rest_client/list.rb
nov-iknow-0.2.2 lib/iknow/rest_client/list.rb
nov-iknow-0.2.3 lib/iknow/rest_client/list.rb
nov-iknow-0.2.4 lib/iknow/rest_client/list.rb
iknow-0.1.0 lib/iknow/rest_client/list.rb
iknow-0.2.4 lib/iknow/rest_client/list.rb
iknow-0.1.1 lib/iknow/rest_client/list.rb
iknow-0.2.0 lib/iknow/rest_client/list.rb
iknow-0.2.1 lib/iknow/rest_client/list.rb
iknow-0.2.2 lib/iknow/rest_client/list.rb
iknow-0.2.3 lib/iknow/rest_client/list.rb