lib/bearcat/client/accounts.rb in bearcat-1.3.6 vs lib/bearcat/client/accounts.rb in bearcat-1.3.7

- old
+ new

@@ -16,9 +16,21 @@ def account_admins(account, params = {}) get("/api/v1/accounts/#{account}/admins", params) end + def create_account_admin(account, params = {}) + post("/api/v1/accounts/#{account}/admins", params) + end + + def delete_account_admin(account, user, params = {}) + delete("/api/v1/accounts/#{account}/admins/#{user}", params) + end + + def list_roles(account, params = {}) + get("/api/v1/accounts/#{account}/roles") + end + def account_roles(account, params = {}) get("/api/v1/accounts/#{account}/roles", params) end def account_courses(account, params = {})