Module: BWAPI::Client::CommandCenter::Users
- Includes:
- Access
- Included in:
- BWAPI::Client::CommandCenter
- Defined in:
- lib/bwapi/client/command_center/users.rb,
lib/bwapi/client/command_center/users/access.rb
Overview
Users module for commandcenter/users endpoints
Defined Under Namespace
Modules: Access
Instance Method Summary collapse
-
#delete_user_access_level(user_id) ⇒ Hashie::Mash
Delete an existing user access level.
-
#get_user_access_level(user_id) ⇒ Hashie::Mash
Get an existing user access level.
-
#users_access_levels ⇒ Hashie::Mash
Get the access levels for all users.
Methods included from Access
Instance Method Details
#delete_user_access_level(user_id) ⇒ Hashie::Mash
Delete an existing user access level
29 30 31 |
# File 'lib/bwapi/client/command_center/users.rb', line 29 def delete_user_access_level(user_id) delete "commandcenter/users/#{user_id}" end |
#get_user_access_level(user_id) ⇒ Hashie::Mash
Get an existing user access level
21 22 23 |
# File 'lib/bwapi/client/command_center/users.rb', line 21 def get_user_access_level(user_id) get "commandcenter/users/#{user_id}" end |
#users_access_levels ⇒ Hashie::Mash
Get the access levels for all users
13 14 15 |
# File 'lib/bwapi/client/command_center/users.rb', line 13 def users_access_levels get 'commandcenter/users' end |