module BWAPI::Client::Brandwatch::Clients::Modules

Clientmodules module for brandwatch/clients/{client_id}/modules endpoints

Public Instance Methods

brandwatch_client_modules(client_id) click to toggle source

Get a specific clients modules

@param client_id [Integer] Id of the client @return [Hash] Specific clients modules

# File lib/bwapi/client/brandwatch/clients/modules.rb, line 11
def brandwatch_client_modules(client_id)
  get "brandwatch/clients/#{client_id}/modules"
end
update_brandwatch_client_modules(client_id, opts = {}) click to toggle source

Update brandwatch client modules

@param client_id [Integer] Id of the client @param opts [Hash] options Hash of parameters @param opts [Integer] client_id Id of the client @option opts [Array] modules Client Modules to update @return [Hash] Updated client modules

# File lib/bwapi/client/brandwatch/clients/modules.rb, line 22
def update_brandwatch_client_modules(client_id, opts = {})
  put "brandwatch/clients/#{client_id}/modules", opts
end