Module: Bearcat::Client::Accounts

Included in:
Bearcat::Client
Defined in:
lib/bearcat/client/accounts.rb

Instance Method Summary collapse

Instance Method Details

#account(account) ⇒ Object



9
10
11
# File 'lib/bearcat/client/accounts.rb', line 9

def ()
  get("/api/v1/accounts/#{}")
end

#account_admins(account, params = {}) ⇒ Object



17
18
19
# File 'lib/bearcat/client/accounts.rb', line 17

def (, params = {})
  get("/api/v1/accounts/#{}/admins", params)
end

#account_courses(account, params = {}) ⇒ Object



25
26
27
# File 'lib/bearcat/client/accounts.rb', line 25

def (, params = {})
  get("/api/v1/accounts/#{}/courses", params)
end

#account_roles(account, params = {}) ⇒ Object



21
22
23
# File 'lib/bearcat/client/accounts.rb', line 21

def (, params = {})
  get("/api/v1/accounts/#{}/roles", params)
end

#list_accounts(params = {}) ⇒ Object



5
6
7
# File 'lib/bearcat/client/accounts.rb', line 5

def list_accounts(params = {})
  get("/api/v1/accounts", params)
end

#terms(account, params = {}) ⇒ Object



13
14
15
# File 'lib/bearcat/client/accounts.rb', line 13

def terms(, params = {})
  get("/api/v1/accounts/#{}/terms", params)
end