Sha256: 929f72a4bb6d1f678fc39840b94b8b6563586b485a1b8c2ea65ed5b224621b1e

Contents?: true

Size: 836 Bytes

Versions: 37

Compression:

Stored size: 836 Bytes

Contents

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

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
bearcat-1.5.13 lib/bearcat/client/accounts.rb
bearcat-1.5.12 lib/bearcat/client/accounts.rb
bearcat-1.5.11 lib/bearcat/client/accounts.rb
bearcat-1.5.10 lib/bearcat/client/accounts.rb
bearcat-1.5.9 lib/bearcat/client/accounts.rb
bearcat-1.5.8 lib/bearcat/client/accounts.rb
bearcat-1.5.7 lib/bearcat/client/accounts.rb
bearcat-1.5.6 lib/bearcat/client/accounts.rb
bearcat-1.5.5 lib/bearcat/client/accounts.rb
bearcat-1.5.4 lib/bearcat/client/accounts.rb
bearcat-1.5.3 lib/bearcat/client/accounts.rb
bearcat-1.5.2 lib/bearcat/client/accounts.rb
bearcat-1.5.0 lib/bearcat/client/accounts.rb
bearcat-1.5.0.beta4 lib/bearcat/client/accounts.rb
bearcat-1.5.0.beta3 lib/bearcat/client/accounts.rb
bearcat-1.5.0.beta2 lib/bearcat/client/accounts.rb
bearcat-1.5.0.beta1 lib/bearcat/client/accounts.rb