Class: Tripletexer::Endpoints::Project::Category
Instance Method Summary
collapse
#initialize
Instance Method Details
#create(body) ⇒ Object
12
13
14
|
# File 'lib/tripletexer/endpoints/project/category.rb', line 12
def create(body)
create_entity('/v2/project/category', body)
end
|
#find(id, params = {}) ⇒ Object
17
18
19
|
# File 'lib/tripletexer/endpoints/project/category.rb', line 17
def find(id, params = {})
find_entity("/v2/project/category/#{id}", params)
end
|
#search(params = {}) ⇒ Object
7
8
9
|
# File 'lib/tripletexer/endpoints/project/category.rb', line 7
def search(params = {})
find_entities('/v2/project/category', params)
end
|
#update(id, body) ⇒ Object
22
23
24
|
# File 'lib/tripletexer/endpoints/project/category.rb', line 22
def update(id, body)
update_entity("/v2/project/category/#{id}", body)
end
|