Module: BWAPI::Client::Brandwatch::Clients::Modules

Included in:
BWAPI::Client::Brandwatch::Clients
Defined in:
lib/bwapi/client/brandwatch/clients/modules.rb

Overview

Clientmodules module for brandwatch/clients/client_id/modules endpoints

Instance Method Summary collapse

Instance Method Details

#brandwatch_client_modules(client_id) ⇒ Hash

Get a specific clients modules



11
12
13
# 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 = {}) ⇒ Hash

Update brandwatch client modules

Options Hash (opts):

  • modules (Array)

    Client Modules to update



22
23
24
# 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