module Bearcat class Client < Footrest::Client module Groups def course_groups(course) get("/api/v1/courses/#{course.to_s}/groups") end def account_groups(account_id) get("/api/v1/accounts/#{account_id}/groups") end def group(id) get("/api/v1/groups/#{id}") end def create_group(group_category_id, params={}) post("/api/v1/group_categories/#{group_category_id}/groups", params) end def edit_group(group_id, params={}) put("/api/v1/groups/#{group_id}", params) end end end end