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

#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