bwapi 11.0.1.pre.617 → 11.0.1.pre.619
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/lib/bwapi/client/admin.rb +0 -7
- data/lib/bwapi/client/client.rb +2 -0
- data/lib/bwapi/client/client/pricing_options.rb +15 -0
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
MTExMzlmYmM1MDQxM2ZmZjc1ZjhmMWEwNGVlZTMwYWY3YTJjYjhmMw==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
ZmUzOGUzYjRiM2E0ZGE5NGNhYjA3YjYwYzk4NTUzZmRhNDlhZjQ1MA==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
MzcwYzkwM2MyNGE0NTAxOGI3MmMyN2U4MjNhZDQ4ODkxMmNmOGRjMDI0NDFl
|
|
10
|
+
MDVmYzAwMzg0MjEzMmRjNmJkMGFkNWMzOTkxM2ViNGEyNmYzMGZmMjk0OThl
|
|
11
|
+
ZmFiODQ4ZGY4YTliNzEyYjlkOTZiMzQ3MTc4NTUxZmRjYjhlNTI=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
NTE4ZDk5ZDkxYzFjNDIwMTQxYTY0OTg5OTBjOWExYmJkODU1MzlkNmRlMzUw
|
|
14
|
+
MTEzZGE5YTQyYTI5NzYxMmJmMDNiOTQ0MTkzYTIwOWQxNjVkM2NlYjY2YTA2
|
|
15
|
+
NzE1NmZjYTBmMzJjMzY4NzRjMzNkNWY4NmYzNWZmYTdiY2I0MTc=
|
data/lib/bwapi/client/admin.rb
CHANGED
|
@@ -29,13 +29,6 @@ module BWAPI
|
|
|
29
29
|
get 'admin/sharing-report'
|
|
30
30
|
end
|
|
31
31
|
|
|
32
|
-
# Retrieve a list of pricing options
|
|
33
|
-
#
|
|
34
|
-
# TODO: Add parameters documentation
|
|
35
|
-
def pricing_options
|
|
36
|
-
get 'admin/pricingoptions'
|
|
37
|
-
end
|
|
38
|
-
|
|
39
32
|
include BWAPI::Client::Admin::Become
|
|
40
33
|
include BWAPI::Client::Admin::Clients
|
|
41
34
|
include BWAPI::Client::Admin::Client
|
data/lib/bwapi/client/client.rb
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
require 'bwapi/client/client/grant_types'
|
|
2
|
+
require 'bwapi/client/client/pricing_options'
|
|
2
3
|
require 'bwapi/client/client/sub_clients'
|
|
3
4
|
|
|
4
5
|
module BWAPI
|
|
@@ -41,6 +42,7 @@ module BWAPI
|
|
|
41
42
|
end
|
|
42
43
|
|
|
43
44
|
include BWAPI::Client::Client::GrantTypes
|
|
45
|
+
include BWAPI::Client::Client::PricingOptions
|
|
44
46
|
include BWAPI::Client::Client::SubClients
|
|
45
47
|
end
|
|
46
48
|
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
module BWAPI
|
|
2
|
+
class Client
|
|
3
|
+
module Client
|
|
4
|
+
# Pricingoptions module for client/pricingoptions endpoint
|
|
5
|
+
module PricingOptions
|
|
6
|
+
# Retrieve a list of pricing options
|
|
7
|
+
#
|
|
8
|
+
# TODO: Add parameters documentation
|
|
9
|
+
def pricing_options
|
|
10
|
+
get 'client/pricingoptions'
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
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.619
|
|
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-
|
|
11
|
+
date: 2015-09-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rspec
|
|
@@ -179,6 +179,7 @@ files:
|
|
|
179
179
|
- lib/bwapi/client/brandwatch/usage_report.rb
|
|
180
180
|
- lib/bwapi/client/client.rb
|
|
181
181
|
- lib/bwapi/client/client/grant_types.rb
|
|
182
|
+
- lib/bwapi/client/client/pricing_options.rb
|
|
182
183
|
- lib/bwapi/client/client/sub_clients.rb
|
|
183
184
|
- lib/bwapi/client/command_center.rb
|
|
184
185
|
- lib/bwapi/client/command_center/category_colours.rb
|