Sha256: 9805e536757e13ab4ed9538db2232edcab3e33ef40050c37f34211b8ffeeea06

Contents?: true

Size: 642 Bytes

Versions: 9

Compression:

Stored size: 642 Bytes

Contents

class Iknow::RestClient::Item < Iknow::RestClient::Base
  
  ACTIONS = {
    :recent    => { :path => '/items'                      },
    :find      => { :path => '/items/__id__'               },
    :matching  => { :path => '/items/matching/__keyword__' },
    :extract   => { :path => '/items/extract',             },
    :create    => { :path => '/items',               :http_method => :post },
    :add_image => { :path => '/items/__id__/images', :http_method => :post },
    :add_sound => { :path => '/items/__id__/sounds', :http_method => :post },
    :add_tags  => { :path => '/items/__id__/tags',   :http_method => :post }
  }
  
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
nov-iknow-0.2.0 lib/iknow/rest_client/item.rb
nov-iknow-0.2.2 lib/iknow/rest_client/item.rb
nov-iknow-0.2.3 lib/iknow/rest_client/item.rb
nov-iknow-0.2.4 lib/iknow/rest_client/item.rb
iknow-0.2.0 lib/iknow/rest_client/item.rb
iknow-0.2.4 lib/iknow/rest_client/item.rb
iknow-0.2.1 lib/iknow/rest_client/item.rb
iknow-0.2.2 lib/iknow/rest_client/item.rb
iknow-0.2.3 lib/iknow/rest_client/item.rb