Sha256: 7ffd7f80b28ee018e1a7386e2bc297d1c9fbd9ea26465709c59597b6232f4123
Contents?: true
Size: 1 KB
Versions: 2
Compression:
Stored size: 1 KB
Contents
class Smartfm::RestClient::List < Smartfm::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__'}, :likes => {:path => '/lists/__id__/likes' }, :create => {:path => '/lists', :http_method => :post}, :add_item => {:path => '/lists/__list_id__/items', :http_method => :post}, # id is used for item_id here.. :like! => {:path => '/lists/__id__/likes', :http_method => :post}, :delete => {:path => '/lists/__id__', :http_method => :delete}, :delete_item => {:path => '/lists/__id__/items/__item_id__', :http_method => :delete}, :unlike! => {:path => '/lists/__id__/likes', :http_method => :delete} } end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
nov-smartfm-1.0.2 | lib/smartfm/rest_clients/list.rb |
smartfm-1.0.2 | lib/smartfm/rest_clients/list.rb |