Class: Iknow::RestClient::List

Inherits:
Base
  • Object
show all
Defined in:
lib/iknow/rest_client/list.rb

Constant Summary collapse

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 }
}

Method Summary

Methods inherited from Base

http_method, method_missing, path, valid_action?