module Bearcat class Client < Footrest::Client module Accounts extend ClientModule prefix "/api/v1/accounts/" do get :list_accounts prefix ":account/" do get :account get :list_sub_accounts, "sub_accounts" get :terms, "terms" get :account_admins, "admins" post :create_account_admin, "admins" delete :delete_account_admin, "admins/:user" get :list_roles, "roles" get :account_roles, "roles" get :account_courses, "courses" get :account_grading_standards, "grading_standards" get :account_grading_standard, "grading_standards/:grading_standard_id" get :account_sis_imports, "sis_imports" get :enrollment, "enrollments/:enrollment" end end end end end