module BWAPI::Client::CommandCenter::Users
Users
module for commandcenter/users endpoints
Public Instance Methods
delete_user_access_level(user_id)
click to toggle source
Delete an existing user access level
@param [Integer] user_id the user id @return [Hash] Deleted user access level
# File lib/bwapi/client/command_center/users.rb, line 27 def delete_user_access_level(user_id) delete "commandcenter/users/#{user_id}/" end
get_user_access_level(user_id)
click to toggle source
Get an existing user access level
@param [Integer] user_id the user id @return [Hash] Specific user access level
# File lib/bwapi/client/command_center/users.rb, line 19 def get_user_access_level(user_id) get "commandcenter/users/#{user_id}" end
users_access_levels()
click to toggle source
Get the access levels for all users
@return [Hash] All users access levels
# File lib/bwapi/client/command_center/users.rb, line 11 def users_access_levels get 'commandcenter/users' end