module BWAPI::Client::Brandwatch::CommandCenter::Themes

Themes module for brandwatch/commandcenter/themes endpoints

Public Instance Methods

brandwatch_theme_by_id(theme_id, opts = {}) click to toggle source

Get a Vizia theme by ID

TODO: Add parameters documentation

# File lib/bwapi/client/brandwatch/command_center/themes.rb, line 31
def brandwatch_theme_by_id(theme_id, opts = {})
  get "brandwatch/commandcenter/themes/id/#{theme_id}", opts
end
brandwatch_theme_by_name(theme_name, opts = {}) click to toggle source

Get a Vizia theme by name

TODO: Add parameters documentation

# File lib/bwapi/client/brandwatch/command_center/themes.rb, line 24
def brandwatch_theme_by_name(theme_name, opts = {})
  get "brandwatch/commandcenter/themes/name/#{theme_name}", opts
end
brandwatch_themes() click to toggle source

Get supported Vizia themes

@return [Hash] All themes

# File lib/bwapi/client/brandwatch/command_center/themes.rb, line 10
def brandwatch_themes
  get 'brandwatch/commandcenter/themes'
end
create_brandwatch_theme(opts = {}) click to toggle source

Create a new Vizia theme

TODO: Add parameters documentation

# File lib/bwapi/client/brandwatch/command_center/themes.rb, line 38
def create_brandwatch_theme(opts = {})
  post 'brandwatch/commandcenter/themes', opts
end
delete_brandwatch_theme(opts = {}) click to toggle source

Delete a Vizia theme

TODO: Add parameters documentation

# File lib/bwapi/client/brandwatch/command_center/themes.rb, line 52
def delete_brandwatch_theme(opts = {})
  delete 'brandwatch/commandcenter/themes', opts
end
enabled_brandwatch_themes(opts = {}) click to toggle source

Get all enabled Vizia themes

TODO: Add parameters documentation

# File lib/bwapi/client/brandwatch/command_center/themes.rb, line 17
def enabled_brandwatch_themes(opts = {})
  get 'brandwatch/commandcenter/themes/enabled', opts
end
update_brandwatch_theme(opts = {}) click to toggle source

Update an existing Vizia theme

TODO: Add parameters documentation

# File lib/bwapi/client/brandwatch/command_center/themes.rb, line 45
def update_brandwatch_theme(opts = {})
  put 'brandwatch/commandcenter/themes', opts
end