bwapi 12.1.0.pre.670 → 12.1.0.pre.675
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/brandwatch.rb +2 -0
- data/lib/bwapi/client/brandwatch/users.rb +17 -0
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
MWRjZTQzZjY2MTMxMGRkNGQ3NTM3ZWY4MGFiZGE1YjhhNThmMTk4NQ==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
NDdiMjIyN2FkMTg5NjY2NDdiM2QyZjMxYzBiZmMyOGMzYTYyMDVjZg==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
NGQxMzdjMjYzOTRmNGQyYWQ3ZmJhN2RlNzBmYTI3NWI4ZWIzMjYyNTc5NTk5
|
|
10
|
+
YTA3M2UwZmEyNmJhMmVmMDUzYmZmNjI4MzA5NDJmODRmMGM2NDcwN2RjZGFm
|
|
11
|
+
ZjBkZmFkOTNlYWI1MGUwMzZjMjdhNDMxMWRiMTBlNmY2ODVhMDM=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
ZWRiNWNkOTg0MWRjNWFhNGEwODAyMzczMDlkOTE2YmZiZGNjZWM4M2Q3MDVk
|
|
14
|
+
ZDk0MTA2MWMyYWE3NDAxZGQ1YzBhNzdiM2FiOGNjMDI5NjlhODEyM2YzZTgy
|
|
15
|
+
NThkMWM3ODE2ZTJmNzE4NDUxMjc0ODdhYzAzYzkxOThhZTdlNjQ=
|
|
@@ -6,6 +6,7 @@ require 'bwapi/client/brandwatch/host_location_overrides'
|
|
|
6
6
|
require 'bwapi/client/brandwatch/log_level'
|
|
7
7
|
require 'bwapi/client/brandwatch/price_structures'
|
|
8
8
|
require 'bwapi/client/brandwatch/usage_report'
|
|
9
|
+
require 'bwapi/client/brandwatch/users'
|
|
9
10
|
|
|
10
11
|
module BWAPI
|
|
11
12
|
class Client
|
|
@@ -59,6 +60,7 @@ module BWAPI
|
|
|
59
60
|
include BWAPI::Client::Brandwatch::LogLevel
|
|
60
61
|
include BWAPI::Client::Brandwatch::PriceStructures
|
|
61
62
|
include BWAPI::Client::Brandwatch::UsageReport
|
|
63
|
+
include BWAPI::Client::Brandwatch::Users
|
|
62
64
|
end
|
|
63
65
|
end
|
|
64
66
|
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
module BWAPI
|
|
2
|
+
class Client
|
|
3
|
+
module Brandwatch
|
|
4
|
+
# users_details module for brandwatch/users/details endpoint
|
|
5
|
+
module Users
|
|
6
|
+
# Returns the specified users details
|
|
7
|
+
#
|
|
8
|
+
# @param opts [Hash] options hash of parameters
|
|
9
|
+
# @option opts [String] username of the user
|
|
10
|
+
# @return [Hash] Returns the user DTO
|
|
11
|
+
def brandwatch_users_details(opts = {})
|
|
12
|
+
get 'brandwatch/users/details', opts
|
|
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: 12.1.0.pre.
|
|
4
|
+
version: 12.1.0.pre.675
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jonathan Chrisp
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-
|
|
11
|
+
date: 2016-03-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rspec
|
|
@@ -176,6 +176,7 @@ files:
|
|
|
176
176
|
- lib/bwapi/client/brandwatch/price_structures.rb
|
|
177
177
|
- lib/bwapi/client/brandwatch/price_structures/clients.rb
|
|
178
178
|
- lib/bwapi/client/brandwatch/usage_report.rb
|
|
179
|
+
- lib/bwapi/client/brandwatch/users.rb
|
|
179
180
|
- lib/bwapi/client/client.rb
|
|
180
181
|
- lib/bwapi/client/client/pricing_options.rb
|
|
181
182
|
- lib/bwapi/client/client/sub_clients.rb
|