Class: Kippt::Lists
Class Method Summary
collapse
Instance Method Summary
collapse
#build, #create, #destroy_resource, #save_resource
#[], #fetch
Constructor Details
#initialize(client) ⇒ Lists
Returns a new instance of Lists.
7
8
9
|
# File 'lib/kippt/lists.rb', line 7
def initialize(client)
@client = client
end
|
Class Method Details
.valid_filter_parameters ⇒ Object
11
12
13
|
# File 'lib/kippt/lists.rb', line 11
def self.valid_filter_parameters
[:limit, :offset]
end
|
Instance Method Details
#base_uri ⇒ Object
23
24
25
|
# File 'lib/kippt/lists.rb', line 23
def base_uri
"lists"
end
|
#collection_class ⇒ Object
#object_class ⇒ Object
15
16
17
|
# File 'lib/kippt/lists.rb', line 15
def object_class
Kippt::List
end
|