Sha256: 98c0c6cdc29be50244d490e654e91d9a9bc5049bed624981658bcc967a62be6a

Contents?: true

Size: 582 Bytes

Versions: 4

Compression:

Stored size: 582 Bytes

Contents

class Smartfm::RestClient::Sentence < Smartfm::RestClient::Base
  
  ACTIONS = {
    :recent    => { :path => '/sentences'                                      },
    :find      => { :path => '/sentences/__id__'                               },
    :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

4 entries across 4 versions & 2 rubygems

Version Path
nov-smartfm-0.4.0 lib/smartfm/rest_client/sentence.rb
smartfm-0.3.0 lib/smartfm/rest_client/sentence.rb
smartfm-0.3.1 lib/smartfm/rest_client/sentence.rb
smartfm-0.4.0 lib/smartfm/rest_client/sentence.rb