bwapi 12.1.0.pre.670 → 12.1.0.pre.675

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
- NzQwOGVkOTU2Zjg5YzdhN2I1ZTU2ZjA0M2VmNmFjYzgyYjljYWVlNA==
4
+ MWRjZTQzZjY2MTMxMGRkNGQ3NTM3ZWY4MGFiZGE1YjhhNThmMTk4NQ==
5
5
  data.tar.gz: !binary |-
6
- MjQ3NTA3M2E4Njg0OTc0ODhkMjkzNzQ4YzFmNDJiZTliYmNhMzg5Yw==
6
+ NDdiMjIyN2FkMTg5NjY2NDdiM2QyZjMxYzBiZmMyOGMzYTYyMDVjZg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NzBmM2MxYTFjNDQwYzAwM2EyOGIzNzI2ZWIxYzhmNjhmZTg3NDY3YzBhZDBj
10
- YmU3YTZiY2Y1YjNkOTQzNmVlZmVhMzU1OGFkOGQ5YTA5MWI3MzQ5Y2Y1M2Zh
11
- NjY2ZWI4MmE3NGQ3ZDIxMDI5M2NjMDJlYzBiZGQ5Y2I3ODg3YmQ=
9
+ NGQxMzdjMjYzOTRmNGQyYWQ3ZmJhN2RlNzBmYTI3NWI4ZWIzMjYyNTc5NTk5
10
+ YTA3M2UwZmEyNmJhMmVmMDUzYmZmNjI4MzA5NDJmODRmMGM2NDcwN2RjZGFm
11
+ ZjBkZmFkOTNlYWI1MGUwMzZjMjdhNDMxMWRiMTBlNmY2ODVhMDM=
12
12
  data.tar.gz: !binary |-
13
- MzNjMWJiMjI4Y2QwNGI1ODNhOWY5NDdkZjE2MjllMWZmMzkwOGQ3M2M4NzAy
14
- NGQyNTNhN2FlNDVlZTMxMmJmMzhmMTYyNTAzOThiOGU4ZDk1Njk4NmIzMjNk
15
- NmE1MzUzZjc2OWYyODNkMjQyZjAxNTk3NzhmZjgyMDZmYWJhODA=
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.670
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-02-18 00:00:00.000000000 Z
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