Sha256: 0ca82eaa1faae0bab5cf6c9c390e63979094c62c65f3bec5480d258e9c586637

Contents?: true

Size: 496 Bytes

Versions: 3

Compression:

Stored size: 496 Bytes

Contents

class Iknow::RestClient::Sentence < Iknow::RestClient::Base
  
  ACTIONS = {
    :recent    => { :path => '/sentences'                                      },
    :matching  => { :path => '/sentences/matching/__keyword__'                 },
    :create    => { :path => '/sentences',               :http_method => :post },
    :add_image => { :path => '/sentences/__id__/images', :http_method => :post },
    :add_sound => { :path => '/sentences/__id__/sounds', :http_method => :post }
  }
  
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
nov-iknow-0.0.1 lib/iknow/rest_client/sentence.rb
nov-iknow-0.0.2 lib/iknow/rest_client/sentence.rb
nov-iknow-0.0.3 lib/iknow/rest_client/sentence.rb