Sha256: 97483b193791d9be387a0544d05ce05f5424c2a82f8e2dbbf43aa40b15a1ceb5

Contents?: true

Size: 486 Bytes

Versions: 4

Compression:

Stored size: 486 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',             },
    :add_image => { :path => '/items/__id__/images', :http_method => :post },
    :add_sound => { :path => '/items/__id__/sounds', :http_method => :post }
  }
  
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
nov-iknow-0.1.0 lib/iknow/rest_client/item.rb
nov-iknow-0.1.1 lib/iknow/rest_client/item.rb
iknow-0.1.1 lib/iknow/rest_client/item.rb
iknow-0.1.0 lib/iknow/rest_client/item.rb