bwapi 11.0.1.pre.570 → 11.0.1.pre.575

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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NzNjZGFmOWU4N2E1ODU5Zjk5MjIwNjc1ZTY3NzFkMmNlNDQ2MDNhOA==
4
+ ZTQyMjk3NWFlYzMzZTAwMThmNDdmYjhmOGY4NGQzMzdlYzlkYTRiYw==
5
5
  data.tar.gz: !binary |-
6
- MmJkZWUwMjRmMDBmYzJmZjhjM2E4MDIzZWU3ZTA5MjM4OTJmNzk1ZQ==
6
+ NTllYmQ3ZWNlMWJjNzExZTliNmFkODgyMGZlYWJhYTE4OTJjYWMxMw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ODdmYzRjNmM2ODcxMWZmODlkYzY1MDA5YTA4YWYwYzYzOGI2NzAzMDJmMDky
10
- MWEwN2Y5MzI5ODQ1Y2JiZDllNzYwNGE1ZGE0MDBhZTg4ZDhmMGQwODFiNjUw
11
- NWI3YzQ1ZWI3ZTc3NjZhNTIzNmZmMzcwNTc2OWU0NjFiZGM2ODI=
9
+ NzM1ZWI5OGZlMjQyN2NjNDc2ODgxMmRhZmIwZDU3YzZjNTRhOGMxYzU5Yjg1
10
+ OTBmN2Q3MDc2NDM2NzEyYWM4ODBjNTJhMzg2NmU0NzNmNGI3ZGI1NzI5MmNi
11
+ YzBjNWU5YzYzNGYyNTYyYzgzZTQ4MDcwOTVkMjJkY2U0NTM5YjI=
12
12
  data.tar.gz: !binary |-
13
- ODAxMmRjZjE0NTlmOTk5YTFhMzA1YmI2YWZkYTg1ZTQ1NTM1N2I3ZjJkOWQy
14
- NzQ0MDM2N2E2MzQyMTk0YjA3OWQ2YmZlNzdjMjEwZGUxMjJmNzY1M2E4MDdk
15
- ZWNkNjg5YjhlMWJhY2I3Mjc2MTU2ZDkwMDIxYzMxMzY4ZWRmZmQ=
13
+ ZjZlNWI1MTRmM2E4ZGFlMjdhMGI0Mzg4OGE0Y2EzZjBjYWFkODYxNzQ4Y2M0
14
+ YzU5Mzg0MmQ0OTA1YjQ2MTY2NjgxMWVjMWZiZWJiMTQ5YzE5ZTBlYjg0NzRi
15
+ NzUyMDlmMjBiMzI4ZTY4ZWMyMGE2ZDg1NmJiNTA1YTA5ZTg1YTU=
@@ -4,6 +4,13 @@ module BWAPI
4
4
  module Clients
5
5
  # Users module for brandwatch/users endpoints
6
6
  module Users
7
+ # List all users in a client
8
+ #
9
+ # TODO: Add parameters documentation
10
+ def brandwatch_get_client_users(client_id, opts = {})
11
+ get "brandwatch/clients/#{client_id}/users", opts
12
+ end
13
+
7
14
  # Create a new client user
8
15
  #
9
16
  # @param client_id [Integer] Id of the client
@@ -33,6 +40,20 @@ module BWAPI
33
40
  def brandwatch_create_client_user(client_id, opts = {})
34
41
  post "brandwatch/clients/#{client_id}/users", opts
35
42
  end
43
+
44
+ # Get a user in a client
45
+ #
46
+ # TODO: Add parameters documentation
47
+ def brandwatch_get_client_user(client_id, user_id, opts = {})
48
+ get "brandwatch/clients/#{client_id}/users/#{user_id}", opts
49
+ end
50
+
51
+ # Update a user in a client
52
+ #
53
+ # TODO: Add parameters documentation
54
+ def brandwatch_update_client_user(client_id, user_id, opts = {})
55
+ put "brandwatch/clients/#{client_id}/users/#{user_id}", opts
56
+ end
36
57
  end
37
58
  end
38
59
  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.570
4
+ version: 11.0.1.pre.575
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-20 00:00:00.000000000 Z
11
+ date: 2015-04-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec