module Bearcat class Client < Footrest::Client module Assignments extend ClientModule prefix "/api/v1/courses/:course/assignments/" do get :assignments, "" post :create_assignment, "" get :all_assignment_overrides, "overrides" post :batch_create_assignment_overrides, "overrides" put :batch_update_assignment_overrides, "overrides" prefix ":assignment/" do get :assignment put :edit_assignment delete :delete_assignment get :assignment_overrides, "overrides" post :create_assignment_override, "overrides" delete :delete_assignment_override, "overrides/:override" end end end end end