Class: Homeflow::API::Search
Class Method Summary
collapse
Methods inherited from Resource
delete, find, is_resource, resource_uri
Methods included from Queryable
included
Class Method Details
permalink
.create(params) ⇒ Object
[View source]
7
8
9
|
# File 'lib/homeflow/api/search.rb', line 7
def self.create(params)
Request.run_for(Homeflow::API::Post.new("/#{resource_uri}/", {}, params))
end
|
permalink
.update(id, params) ⇒ Object
[View source]
11
12
13
|
# File 'lib/homeflow/api/search.rb', line 11
def self.update(id, params)
Request.run_for(Homeflow::API::Put.new("/#{resource_uri}/#{id}", {}, params))
end
|