bwapi 11.0.1.pre.559 → 11.0.1.pre.561
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/bwapi/client/brandwatch/clients/command_center.rb +1 -1
- data/lib/bwapi/client/brandwatch/clients/command_center/limits.rb +1 -1
- data/lib/bwapi/client/brandwatch/clients/command_center/scene_types.rb +1 -1
- data/lib/bwapi/client/brandwatch/clients/command_center/themes.rb +2 -2
- data/lib/bwapi/client/brandwatch/clients/command_center/users.rb +2 -2
- data/lib/bwapi/client/brandwatch/clients/command_center/users/access.rb +2 -2
- data/lib/bwapi/client/brandwatch/clients/modules.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NjA1M2UwNTk0NmQ5ZDI5ODMwMjIxNzhmZGYwNmY0ZGMyOTY4ODI1NQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
OTZlODE5MjJlNmUzZGI0ZDliYjQzZDI3ZmEzNGQzMzY0NmZkOTFmOA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MWUwNjVlYWZlNTdhMDI3N2JiNjVmODUxNTNlMTc2N2RjYTgwY2Q1YTU3ZDdl
|
10
|
+
MmFmMDQ4ODMyNDFiMDRjY2JjZjVkNzdlODMwYWYwZjYyNWVlYWFkMzc2MTE4
|
11
|
+
YWQ2ZWUxZjQwOGZiOTYyMGFmZTBiMjEzZGRhNGRhYzkzY2MzOTM=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MzhmMWQ5YWE3NjkwMzU4M2M2MzgxOWJhYWJlODUzYWI0MzA3NWNkZTAwODg1
|
14
|
+
YjhmZmYwNmQ0YmE0NTE2NDA4NTBiODYyNjAzNDEzN2JhNGMwZjI1ZTY3YWVm
|
15
|
+
OGFkM2QwYjM5MGQ3MTg5OGVlYzA4ZWMyZmU3ZDIwOTYzZDcyMGI=
|
@@ -7,7 +7,7 @@ module BWAPI
|
|
7
7
|
class Client
|
8
8
|
module Brandwatch
|
9
9
|
module Clients
|
10
|
-
# CommandCenter module for brandwatch/
|
10
|
+
# CommandCenter module for brandwatch/clients/{client_id}/commandcenter endpoints
|
11
11
|
module CommandCenter
|
12
12
|
include BWAPI::Client::Brandwatch::Clients::CommandCenter::Limits
|
13
13
|
include BWAPI::Client::Brandwatch::Clients::CommandCenter::SceneTypes
|
@@ -3,7 +3,7 @@ module BWAPI
|
|
3
3
|
module Brandwatch
|
4
4
|
module Clients
|
5
5
|
module CommandCenter
|
6
|
-
# Limits module for brandwatch/
|
6
|
+
# Limits module for brandwatch/clients/{client_id}/commandcenter/limits endpoints
|
7
7
|
module Limits
|
8
8
|
# Fetch configured limits for a Vizia client
|
9
9
|
#
|
@@ -3,7 +3,7 @@ module BWAPI
|
|
3
3
|
module Brandwatch
|
4
4
|
module Clients
|
5
5
|
module CommandCenter
|
6
|
-
# SceneTypes module for brandwatch/
|
6
|
+
# SceneTypes module for brandwatch/clients/{client_id}/commandcenter/scenetypes endpoints
|
7
7
|
module SceneTypes
|
8
8
|
# Fetch all scene types enabled for given client
|
9
9
|
#
|
@@ -9,14 +9,14 @@ module BWAPI
|
|
9
9
|
#
|
10
10
|
# TODO: Add parameters documentation
|
11
11
|
def brandwatch_themes(client_id)
|
12
|
-
get "brandwatch/
|
12
|
+
get "brandwatch/clients/#{client_id}/commandcenter/themes"
|
13
13
|
end
|
14
14
|
|
15
15
|
# Alter Vizia themes enabled for client
|
16
16
|
#
|
17
17
|
# TODO: Add parameters documentation
|
18
18
|
def brandwatch_update_themes(client_id, opts = {})
|
19
|
-
get "brandwatch/
|
19
|
+
get "brandwatch/clients/#{client_id}/commandcenter/themes", opts
|
20
20
|
end
|
21
21
|
end
|
22
22
|
end
|
@@ -11,14 +11,14 @@ module BWAPI
|
|
11
11
|
#
|
12
12
|
# TODO: Add parameters documentation
|
13
13
|
def brandwatch_users_access_levels(client_id)
|
14
|
-
get "brandwatch/
|
14
|
+
get "brandwatch/clients/#{client_id}/commandcenter/users"
|
15
15
|
end
|
16
16
|
|
17
17
|
# Fetch a single user's Vizia access level
|
18
18
|
#
|
19
19
|
# TODO: Add parameters documentation
|
20
20
|
def brandwatch_user_access_level(client_id, user_id)
|
21
|
-
get "brandwatch/
|
21
|
+
get "brandwatch/clients/#{client_id}/commandcenter/users/#{user_id}"
|
22
22
|
end
|
23
23
|
|
24
24
|
include BWAPI::Client::Brandwatch::Clients::CommandCenter::Users::Access
|
@@ -10,14 +10,14 @@ module BWAPI
|
|
10
10
|
#
|
11
11
|
# TODO: Add parameters documentation
|
12
12
|
def brandwatch_update_user_access_level(client_id, user_id, access_level)
|
13
|
-
put "brandwatch/
|
13
|
+
put "brandwatch/clients/#{client_id}/commandcenter/users/#{user_id}/access/#{access_level}"
|
14
14
|
end
|
15
15
|
|
16
16
|
# Revoke a user's Vizia access
|
17
17
|
#
|
18
18
|
# TODO: Add parameters documentation
|
19
19
|
def brandwatch_delete_user_access_level(client_id, user_id, access_level)
|
20
|
-
delete "brandwatch/
|
20
|
+
delete "brandwatch/clients/#{client_id}/commandcenter/users/#{user_id}/access/#{access_level}"
|
21
21
|
end
|
22
22
|
end
|
23
23
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bwapi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 11.0.1.pre.
|
4
|
+
version: 11.0.1.pre.561
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonathan Chrisp
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-02
|
11
|
+
date: 2015-03-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|