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/access 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
28 29 30 |
# File 'lib/bwapi/client/command_center/users.rb', line 28 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
20 21 22 |
# File 'lib/bwapi/client/command_center/users.rb', line 20 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
12 13 14 |
# File 'lib/bwapi/client/command_center/users.rb', line 12 def users_access_levels get "commandcenter/users" end |