Module: BWAPI::Client::Brandwatch::Clients::CommandCenter::Users

Includes:
Access
Included in:
BWAPI::Client::Brandwatch::Clients::CommandCenter
Defined in:
lib/bwapi/client/brandwatch/clients/command_center/users.rb,
lib/bwapi/client/brandwatch/clients/command_center/users/access.rb

Overview

Users module for brandwatch/client/client_id/commandcenter/users endpoints

Defined Under Namespace

Modules: Access

Instance Method Summary collapse

Methods included from Access

#brandwatch_delete_user_access_level, #brandwatch_update_user_access_level

Instance Method Details

#brandwatch_user_access_level(client_id, user_id) ⇒ Object

Fetch a single user’s Vizia access level

TODO: Add parameters documentation



20
21
22
# File 'lib/bwapi/client/brandwatch/clients/command_center/users.rb', line 20

def brandwatch_user_access_level(client_id, user_id)
  get "brandwatch/client/#{client_id}/commandcenter/users/#{user_id}"
end

#brandwatch_users_access_levels(client_id) ⇒ Object

Fetch Vizia access levels for all users in client

TODO: Add parameters documentation



13
14
15
# File 'lib/bwapi/client/brandwatch/clients/command_center/users.rb', line 13

def brandwatch_users_access_levels(client_id)
  get "brandwatch/client/#{client_id}/commandcenter/users"
end