bwapi 12.0.0.pre.641 → 12.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- ZWEzMjA5Y2QwMjg0Mjc2ZjVlNmY2NDkxNmNkNjBiZjk5NWEyOGFlYQ==
5
- data.tar.gz: !binary |-
6
- YTg0ZDE1YjJlMjVhMDg2MjA3NDY5YWQ2ZjE3NzIwYzFjNjBhOTJiOQ==
2
+ SHA1:
3
+ metadata.gz: c0e1c528f756c598534502379525910c18edaa87
4
+ data.tar.gz: 807b8c09e48fdfd7b9eed27eeb6713b19f804a73
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- OWNjN2E3NzMxOTZhMDUzODc5MDhkNTRlNzA0YjIwOTRmYzUwM2YzMDBlOGFi
10
- MTY4NjVkNzhhMjIwNzk3MmYzYzBlMjZhNzhkMjJhMGEwNTU5Zjg5Njg0OWQ3
11
- ZmVkZjhjNDkyOGM0ZmEzYzMwMDcxODI4YWZlZjdlMTc2OTU5MTM=
12
- data.tar.gz: !binary |-
13
- N2U4M2Q0MTVmMmYzNzdkZDM4YWIyODYwNTYzODJhZTE2YzI2NTgwMGY0NzNk
14
- ZTg5MDRiMTU1ZTE4ZDRlOTJiNGY2YmU2MWEyZGIyNzgzOTY5MTVhMDk3NjM0
15
- MjMxZTM1YjZhZTlhNWQ2ZmYzYWU1ODViN2EwNWQwYjgwOWVjYWU=
6
+ metadata.gz: 2441dd52a8037e9f6f432591dec12e160d6bb64ab17ed701e0a8b9e959b6b4685bdaa4c6fc3975a3a164752b030a1e16ec17373e4fe5d87dd040777188685209
7
+ data.tar.gz: 9961ca6a6e7cb336ac6b7b3c0d1ebfd669b9db3b88b973e152d7716eeb9717f99323b534718e996ddef48eac1273910c27e72c1e5740c89641549a2f74ce0bb7
@@ -24,9 +24,7 @@ require 'bwapi/client/public'
24
24
  require 'bwapi/client/query_validation'
25
25
  require 'bwapi/client/sso'
26
26
  require 'bwapi/client/test_search'
27
- require 'bwapi/client/usage_summary'
28
27
  require 'bwapi/client/user'
29
-
30
28
  require 'faraday'
31
29
 
32
30
  module BWAPI
@@ -58,7 +56,6 @@ module BWAPI
58
56
  include BWAPI::Client::QueryValidation
59
57
  include BWAPI::Client::SSO
60
58
  include BWAPI::Client::TestSearch
61
- include BWAPI::Client::UsageSummary
62
59
  include BWAPI::Client::User
63
60
 
64
61
  # Initializes Client
@@ -16,6 +16,20 @@ module BWAPI
16
16
  def reseller_client_mention_usage_report(client_id, opts = {})
17
17
  get "/admin/reseller/requestMentionUsageReport/#{client_id}", opts
18
18
  end
19
+
20
+ # Requests reseller usage summaries
21
+ #
22
+ # TODO: Add parameters documentation
23
+ def reseller_usage_summary
24
+ get '/admin/reseller/usageSummary'
25
+ end
26
+
27
+ # Requests reseller usage summaries for a specific client
28
+ #
29
+ # TODO: Add parameters documentation
30
+ def reseller_client_usage_summary(client_id)
31
+ get "/admin/reseller/usageSummary/#{client_id}"
32
+ end
19
33
  end
20
34
  end
21
35
  end
metadata CHANGED
@@ -1,125 +1,125 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bwapi
3
3
  version: !ruby/object:Gem::Version
4
- version: 12.0.0.pre.641
4
+ version: 12.0.0
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-10-01 00:00:00.000000000 Z
11
+ date: 2015-09-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '3.0'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '3.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0.24'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0.24'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: allotment
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ~>
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
47
  version: '1.1'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ~>
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '1.1'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: faraday
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ~>
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0.9'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ~>
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0.9'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: faraday_middleware
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ~>
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0.9'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ~>
80
+ - - "~>"
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0.9'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: faraday_middleware-parse_csv
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ~>
87
+ - - "~>"
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0.1'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ~>
94
+ - - "~>"
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0.1'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: faraday_middleware-parse_oj
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ~>
101
+ - - "~>"
102
102
  - !ruby/object:Gem::Version
103
103
  version: '0.3'
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - ~>
108
+ - - "~>"
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0.3'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: oj
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - ~>
115
+ - - "~>"
116
116
  - !ruby/object:Gem::Version
117
117
  version: '2.11'
118
118
  type: :runtime
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - ~>
122
+ - - "~>"
123
123
  - !ruby/object:Gem::Version
124
124
  version: '2.11'
125
125
  description: A Ruby wrapper for the Brandwatch API
@@ -129,10 +129,10 @@ executables:
129
129
  extensions: []
130
130
  extra_rdoc_files: []
131
131
  files:
132
- - .editorconfig
133
- - .gitignore
134
- - .rubocop.yml
135
- - .travis.yml
132
+ - ".editorconfig"
133
+ - ".gitignore"
134
+ - ".rubocop.yml"
135
+ - ".travis.yml"
136
136
  - CHANGELOG.md
137
137
  - CONTRIBUTING.md
138
138
  - Gemfile
@@ -269,7 +269,6 @@ files:
269
269
  - lib/bwapi/client/query_validation.rb
270
270
  - lib/bwapi/client/sso.rb
271
271
  - lib/bwapi/client/test_search.rb
272
- - lib/bwapi/client/usage_summary.rb
273
272
  - lib/bwapi/client/user.rb
274
273
  - lib/bwapi/client/user/facebook.rb
275
274
  - lib/bwapi/client/user/instagram_credentials.rb
@@ -301,17 +300,17 @@ require_paths:
301
300
  - lib
302
301
  required_ruby_version: !ruby/object:Gem::Requirement
303
302
  requirements:
304
- - - ! '>='
303
+ - - ">="
305
304
  - !ruby/object:Gem::Version
306
305
  version: 1.9.3
307
306
  required_rubygems_version: !ruby/object:Gem::Requirement
308
307
  requirements:
309
- - - ! '>'
308
+ - - ">="
310
309
  - !ruby/object:Gem::Version
311
- version: 1.3.1
310
+ version: '0'
312
311
  requirements: []
313
312
  rubyforge_project:
314
- rubygems_version: 2.4.5
313
+ rubygems_version: 2.4.7
315
314
  signing_key:
316
315
  specification_version: 4
317
316
  summary: Brandwatch API Wrapper
@@ -321,3 +320,4 @@ test_files:
321
320
  - spec/bwapi/default_spec.rb
322
321
  - spec/bwapi_spec.rb
323
322
  - spec/helper.rb
323
+ has_rdoc:
@@ -1,20 +0,0 @@
1
- module BWAPI
2
- class Client
3
- # UsageSummary module for usageSummary endpoints
4
- module UsageSummary
5
- # Requests reseller usage summaries
6
- #
7
- # TODO: Add parameters documentation
8
- def reseller_usage_summary(opts = {})
9
- get 'reseller/usageSummary', opts
10
- end
11
-
12
- # Requests reseller usage summaries for a specific client
13
- #
14
- # TODO: Add parameters documentation
15
- def reseller_client_usage_summary(client_id)
16
- get "reseller/usageSummary/#{client_id}"
17
- end
18
- end
19
- end
20
- end