module Uiza::APIResource::CategoryResource
Public Instance Methods
create_category(params)
click to toggle source
# File lib/uiza/api_resource/category_resource.rb, line 4 def create_category params Uiza::Category.create params end
create_relation_category(params)
click to toggle source
# File lib/uiza/api_resource/category_resource.rb, line 24 def create_relation_category params Uiza::Category.create_relation params end
delete_category(id)
click to toggle source
# File lib/uiza/api_resource/category_resource.rb, line 20 def delete_category id Uiza::Category.delete id end
delete_relation_category(params)
click to toggle source
# File lib/uiza/api_resource/category_resource.rb, line 28 def delete_relation_category params Uiza::Category.delete_relation params end
list_category(params = {})
click to toggle source
# File lib/uiza/api_resource/category_resource.rb, line 12 def list_category params = {} Uiza::Category.list params end
retrieve_category(id)
click to toggle source
# File lib/uiza/api_resource/category_resource.rb, line 8 def retrieve_category id Uiza::Category.retrieve id end
update_category(params)
click to toggle source
# File lib/uiza/api_resource/category_resource.rb, line 16 def update_category params Uiza::Category.update params end