bwapi 11.0.1.pre.568 → 11.0.1.pre.570
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
|
+
NzNjZGFmOWU4N2E1ODU5Zjk5MjIwNjc1ZTY3NzFkMmNlNDQ2MDNhOA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MmJkZWUwMjRmMDBmYzJmZjhjM2E4MDIzZWU3ZTA5MjM4OTJmNzk1ZQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ODdmYzRjNmM2ODcxMWZmODlkYzY1MDA5YTA4YWYwYzYzOGI2NzAzMDJmMDky
|
10
|
+
MWEwN2Y5MzI5ODQ1Y2JiZDllNzYwNGE1ZGE0MDBhZTg4ZDhmMGQwODFiNjUw
|
11
|
+
NWI3YzQ1ZWI3ZTc3NjZhNTIzNmZmMzcwNTc2OWU0NjFiZGM2ODI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ODAxMmRjZjE0NTlmOTk5YTFhMzA1YmI2YWZkYTg1ZTQ1NTM1N2I3ZjJkOWQy
|
14
|
+
NzQ0MDM2N2E2MzQyMTk0YjA3OWQ2YmZlNzdjMjEwZGUxMjJmNzY1M2E4MDdk
|
15
|
+
ZWNkNjg5YjhlMWJhY2I3Mjc2MTU2ZDkwMDIxYzMxMzY4ZWRmZmQ=
|
@@ -1,3 +1,5 @@
|
|
1
|
+
require 'bwapi/client/brandwatch/price_structures/clients'
|
2
|
+
|
1
3
|
module BWAPI
|
2
4
|
class Client
|
3
5
|
module Brandwatch
|
@@ -46,6 +48,8 @@ module BWAPI
|
|
46
48
|
def delete_price_structure(price_structure_id)
|
47
49
|
delete "brandwatch/pricestructures/#{price_structure_id}"
|
48
50
|
end
|
51
|
+
|
52
|
+
include BWAPI::Client::Brandwatch::PriceStructures::Clients
|
49
53
|
end
|
50
54
|
end
|
51
55
|
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
module BWAPI
|
2
|
+
class Client
|
3
|
+
module Brandwatch
|
4
|
+
module PriceStructures
|
5
|
+
# PriceStructures module for brandwatch/pricestructures/clients endpoints
|
6
|
+
module Clients
|
7
|
+
# Show a clients reseller price structures
|
8
|
+
#
|
9
|
+
# TODO: Add parameters documentation
|
10
|
+
def get_client_price_structures(client_id, opts = {})
|
11
|
+
get "brandwatch/pricestructures/client/#{client_id}", opts
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
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.570
|
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-03-
|
11
|
+
date: 2015-03-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -173,6 +173,7 @@ files:
|
|
173
173
|
- lib/bwapi/client/brandwatch/host_location_overrides.rb
|
174
174
|
- lib/bwapi/client/brandwatch/log_level.rb
|
175
175
|
- lib/bwapi/client/brandwatch/price_structures.rb
|
176
|
+
- lib/bwapi/client/brandwatch/price_structures/clients.rb
|
176
177
|
- lib/bwapi/client/brandwatch/usage_report.rb
|
177
178
|
- lib/bwapi/client/client.rb
|
178
179
|
- lib/bwapi/client/client/grant_types.rb
|