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/client/modules endpoints
Instance Method Summary collapse
-
#brandwatch_client_modules(client_id) ⇒ Hash
Get a specific clients modules.
-
#update_brandwatch_client_modules(client_id, opts = {}) ⇒ Hash
Update brandwatch client modules.
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
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 |