Sha256: a39fc87a1716e490b66b77452cfdda1d1db7a7144eb69c5303799cc91842337c

Contents?: true

Size: 518 Bytes

Versions: 3

Compression:

Stored size: 518 Bytes

Contents

class Iknow::RestClient::List < Iknow::RestClient::Base
  
  ACTIONS = {
    :recent    => { :path => '/lists'                                 },
    :items     => { :path => '/lists/__id__/items'                    },
    :sentences => { :path => '/lists/__id__/sentences'                },
    :matching  => { :path => '/lists/matching/__keyword__'            },
    :create    => { :path => '/lists',        :http_method => :post   },
    :delete    => { :path => '/lists/__id__', :http_method => :delete }
  }

end

Version data entries

3 entries across 3 versions & 1 rubygems

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