Module: BWAPI::Client::Brandwatch::Clients::CommandCenter::SceneTypes

Included in:
BWAPI::Client::Brandwatch::Clients::CommandCenter
Defined in:
lib/bwapi/client/brandwatch/clients/command_center/scene_types.rb

Overview

SceneTypes module for brandwatch/client/client_id/commandcenter/scenetypes endpoints

Instance Method Summary collapse

Instance Method Details

#brandwatch_scene_types(client_id) ⇒ Object

Fetch all scene types enabled for given client

TODO: Add parameters documentation



11
12
13
# File 'lib/bwapi/client/brandwatch/clients/command_center/scene_types.rb', line 11

def brandwatch_scene_types(client_id)
  get "/brandwatch/clients/#{client_id}/commandcenter/scenetypes"
end

#brandwatch_update_scene_type(client_id, opts = {}) ⇒ Object

Alter Vizia scene types enabled for client

TODO: Add parameters documentation



18
19
20
# File 'lib/bwapi/client/brandwatch/clients/command_center/scene_types.rb', line 18

def brandwatch_update_scene_type(client_id, opts = {})
  put "/brandwatch/clients/#{client_id}/commandcenter/scenetypes", opts
end