module Bearcat class Client < Footrest::Client module GroupCategories def list_group_categories(context, id) get("/api/v1/#{context}/#{id}/group_categories") end def group_category(id) get("/api/v1/group_categories/#{id}") end def edit_group_category(id, params={}) put("/api/v1/group_categories/#{id}", params) end def create_group_category(context, id, params={}) post("/api/v1/#{context}/#{id}/group_categories", params) end end end end