Sha256: f65cb9fea298b614df6e6cc596c2e5a219427bc30f49d4fda76fb583afada8ff
Contents?: true
Size: 653 Bytes
Versions: 57
Compression:
Stored size: 653 Bytes
Contents
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 def delete_group_category(id, params={}) delete("/api/v1/group_categories/#{id}/", params) end end end end
Version data entries
57 entries across 57 versions & 1 rubygems