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) ⇒ Hashie::Mash

Get a specific clients modules

Parameters:

  • client_id (Integer) —

    Id of the client

Returns:

  • (Hashie::Mash) —

    Specific clients modules



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

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

#update_brandwatch_client_module(opts = {}) ⇒ Hashie::Mash

Update brandwatch client modules

Parameters:

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

    options Hash of parameters

Options Hash (opts):

  • ClientModules (Array) —

    Client Modules to edit

Returns:

  • (Hashie::Mash) —

    Update client modules



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

def update_brandwatch_client_module opts={}
  put "brandwatch/clientModules", opts
end