module Bearcat class Client < Footrest::Client module Groups extend ClientModule prefix "/api/v1/groups/:group/" do get :group put :edit_group delete :delete_group end get :course_groups, "/api/v1/courses/:course/groups" get :account_groups, "/api/v1/accounts/:account/groups" get :category_groups, "/api/v1/group_categories/:group_category/groups" post :create_group, "/api/v1/group_categories/:group_category/groups" end end end