bwapi 9.2.0.pre.457 → 9.2.0.pre.464
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZDgwOWNlMTk4YmY2ODQ0Mzc3MWQ5NGMyN2ZhNjhlOWQ1MDZiN2IzNg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NTMyMzVjOTdjYWI0MDI0OWIzZjQ1MGNjM2ZjMzk0N2Y4Y2Q0NmNkNg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ODVjNjM4ODhkYzc3M2ViODhkN2VkY2FhOWM1MjlmZTg2NzgzYWExZjUyM2I1
|
10
|
+
NTA4MTgyZGQ1MWViNGU1ZmY3Zjg0YjBkZjdlOTZmMjI3NmYzMTIwYzE0NGFl
|
11
|
+
YzhkM2M3M2EyOTIzMmNiNzM4YmMxMDAzOTI2NGZkODllNGE0YzQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NDM3MzJjZjY3NTlhMTcwNWY0ZDQ1NTY5NTdiM2IxOWYxOTllNDhiOWExNWU4
|
14
|
+
MTk0Y2JlYTJlNjFmNGViZTYwNzZlNjkzMWQwMGYxYzFlNjE3ZTFkZmQ2MDJk
|
15
|
+
YzQ2MTM5NWFjMDUwMzRhMDU4OWFmMzcyY2U4ZjVhYzhlMTcxMWI=
|
data/.gitignore
CHANGED
data/.travis.yml
CHANGED
@@ -17,5 +17,5 @@ deploy:
|
|
17
17
|
secure: g7xKyeiMs2o1HLokzOWCiLKxmTaEmuQDB0he9kxFhjqMLbRQHu1pVL0uE2bD0K/zq8Ebb+OPchVmej/6s5Be97AOK5d1wGdBAhXISwlxPoXxLJ6zU5DF1vjF3YCZK197z81ATcGcocsD2eYXZ4NzJcI+FW3kzO6QQhfHfUUeHvM=
|
18
18
|
gem: bwapi
|
19
19
|
on:
|
20
|
-
branch:
|
20
|
+
branch: master
|
21
21
|
repo: jonathanchrisp/bwapi
|
@@ -1,4 +1,5 @@
|
|
1
1
|
require 'bwapi/client/brandwatch/become'
|
2
|
+
require 'bwapi/client/brandwatch/client_modules'
|
2
3
|
require 'bwapi/client/brandwatch/clients'
|
3
4
|
|
4
5
|
module BWAPI
|
@@ -25,6 +26,7 @@ module BWAPI
|
|
25
26
|
end
|
26
27
|
|
27
28
|
include BWAPI::Client::Brandwatch::Become
|
29
|
+
include BWAPI::Client::Brandwatch::ClientModules
|
28
30
|
include BWAPI::Client::Brandwatch::Clients
|
29
31
|
end
|
30
32
|
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
module BWAPI
|
2
|
+
class Client
|
3
|
+
module Brandwatch
|
4
|
+
# ClientModules module for brandwatch/clientModules endpoints
|
5
|
+
module ClientModules
|
6
|
+
# Get a specific clients modules
|
7
|
+
#
|
8
|
+
# @param client_id [Integer] Id of the client
|
9
|
+
# @return [Hash] Specific clients modules
|
10
|
+
def brandwatch_client_modules(client_id)
|
11
|
+
get "brandwatch/clientModules/#{client_id}"
|
12
|
+
end
|
13
|
+
|
14
|
+
# Update brandwatch client modules
|
15
|
+
#
|
16
|
+
# @param opts [Hash] options Hash of parameters
|
17
|
+
# @option opts [Array] ClientModules Client Modules to edit
|
18
|
+
# @return [Hash] Update client modules
|
19
|
+
def update_brandwatch_client_module(opts = {})
|
20
|
+
put 'brandwatch/clientModules', opts
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
@@ -1,5 +1,3 @@
|
|
1
|
-
require 'bwapi/client/brandwatch/clients/modules'
|
2
|
-
|
3
1
|
module BWAPI
|
4
2
|
class Client
|
5
3
|
module Brandwatch
|
@@ -92,8 +90,6 @@ module BWAPI
|
|
92
90
|
def update_client(client_id, opts = {})
|
93
91
|
put "brandwatch/clients/#{client_id}", opts
|
94
92
|
end
|
95
|
-
|
96
|
-
include BWAPI::Client::Brandwatch::Clients::Modules
|
97
93
|
end
|
98
94
|
end
|
99
95
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bwapi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 9.2.0.pre.
|
4
|
+
version: 9.2.0.pre.464
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonathan Chrisp
|
@@ -137,8 +137,8 @@ files:
|
|
137
137
|
- lib/bwapi/client/admin/search.rb
|
138
138
|
- lib/bwapi/client/brandwatch.rb
|
139
139
|
- lib/bwapi/client/brandwatch/become.rb
|
140
|
+
- lib/bwapi/client/brandwatch/client_modules.rb
|
140
141
|
- lib/bwapi/client/brandwatch/clients.rb
|
141
|
-
- lib/bwapi/client/brandwatch/clients/modules.rb
|
142
142
|
- lib/bwapi/client/client.rb
|
143
143
|
- lib/bwapi/client/command_center.rb
|
144
144
|
- lib/bwapi/client/command_center/client.rb
|
@@ -1,27 +0,0 @@
|
|
1
|
-
module BWAPI
|
2
|
-
class Client
|
3
|
-
module Brandwatch
|
4
|
-
module Clients
|
5
|
-
# Clientmodules module for brandwatch/client/modules endpoints
|
6
|
-
module Modules
|
7
|
-
# Get a specific clients modules
|
8
|
-
#
|
9
|
-
# @param client_id [Integer] Id of the client
|
10
|
-
# @return [Hash] Specific clients modules
|
11
|
-
def brandwatch_client_modules(client_id)
|
12
|
-
get "brandwatch/clients/#{client_id}/modules"
|
13
|
-
end
|
14
|
-
|
15
|
-
# Update brandwatch client modules
|
16
|
-
#
|
17
|
-
# @param opts [Hash] options Hash of parameters
|
18
|
-
# @option opts [Array] brandwatch/client/modules Client Modules to edit
|
19
|
-
# @return [Hash] Updated client modules
|
20
|
-
def update_brandwatch_client_modules(opts = {})
|
21
|
-
put "brandwatch/clients/#{client_id}/modules", opts
|
22
|
-
end
|
23
|
-
end
|
24
|
-
end
|
25
|
-
end
|
26
|
-
end
|
27
|
-
end
|