Module: BWAPI::Client::Brandwatch::CommandCenter::Themes
- Included in:
- BWAPI::Client::Brandwatch::CommandCenter
- Defined in:
- lib/bwapi/client/brandwatch/command_center/themes.rb
Overview
Themes module for brandwatch/commandcenter/themes endpoints
Instance Method Summary collapse
-
#brandwatch_theme_by_id(theme_id, opts = {}) ⇒ Object
Get a Vizia theme by ID.
-
#brandwatch_theme_by_name(theme_name, opts = {}) ⇒ Object
Get a Vizia theme by name.
-
#brandwatch_themes ⇒ Hash
Get supported Vizia themes.
-
#create_brandwatch_theme(opts = {}) ⇒ Object
Create a new Vizia theme.
-
#delete_brandwatch_theme(opts = {}) ⇒ Object
Delete a Vizia theme.
-
#enabled_brandwatch_themes(opts = {}) ⇒ Object
Get all enabled Vizia themes.
-
#update_brandwatch_theme(opts = {}) ⇒ Object
Update an existing Vizia theme.
Instance Method Details
#brandwatch_theme_by_id(theme_id, opts = {}) ⇒ Object
Get a Vizia theme by ID
TODO: Add parameters documentation
31 32 33 |
# 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 = {}) ⇒ Object
Get a Vizia theme by name
TODO: Add parameters documentation
24 25 26 |
# 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 ⇒ Hash
Get supported Vizia themes
10 11 12 |
# File 'lib/bwapi/client/brandwatch/command_center/themes.rb', line 10 def brandwatch_themes get 'brandwatch/commandcenter/themes' end |
#create_brandwatch_theme(opts = {}) ⇒ Object
Create a new Vizia theme
TODO: Add parameters documentation
38 39 40 |
# 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 = {}) ⇒ Object
Delete a Vizia theme
TODO: Add parameters documentation
52 53 54 |
# 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 = {}) ⇒ Object
Get all enabled Vizia themes
TODO: Add parameters documentation
17 18 19 |
# 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 = {}) ⇒ Object
Update an existing Vizia theme
TODO: Add parameters documentation
45 46 47 |
# File 'lib/bwapi/client/brandwatch/command_center/themes.rb', line 45 def update_brandwatch_theme(opts = {}) put 'brandwatch/commandcenter/themes', opts end |