Module: BWAPI::Client::Brandwatch::ClientModules

Included in:
BWAPI::Client::Brandwatch
Defined in:
lib/bwapi/client/brandwatch/client_modules.rb

Overview

ClientModules module for brandwatch/clientModules endpoints

Instance Method Summary collapse

Instance Method Details

#brandwatch_client_modules(client_id) ⇒ Hash

Get a specific clients modules

Parameters:

  • client_id (Integer)

    Id of the client

Returns:

  • (Hash)

    Specific clients modules



10
11
12
# File 'lib/bwapi/client/brandwatch/client_modules.rb', line 10

def brandwatch_client_modules(client_id)
  get "brandwatch/clientModules/#{client_id}"
end

#update_brandwatch_client_module(opts = {}) ⇒ Hash

Update brandwatch client modules

Parameters:

  • opts (Hash) (defaults to: {})

    options Hash of parameters

Options Hash (opts):

  • ClientModules (Array)

    Client Modules to edit

Returns:

  • (Hash)

    Update client modules



19
20
21
# File 'lib/bwapi/client/brandwatch/client_modules.rb', line 19

def update_brandwatch_client_module(opts = {})
  put 'brandwatch/clientModules', opts
end