td-client 0.8.49 → 0.8.50
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +5 -0
- data/lib/td/client.rb +2 -2
- data/lib/td/client/api.rb +3 -3
- data/lib/td/client/version.rb +1 -1
- metadata +2 -2
data/ChangeLog
CHANGED
data/lib/td/client.rb
CHANGED
data/lib/td/client/api.rb
CHANGED
@@ -1103,9 +1103,9 @@ class API
|
|
1103
1103
|
end
|
1104
1104
|
|
1105
1105
|
# => true
|
1106
|
-
def add_user(
|
1107
|
-
params = {'organization'=>org}
|
1108
|
-
code, body, res = post("/v3/user/add/#{e
|
1106
|
+
def add_user(name, org, email, password)
|
1107
|
+
params = {'organization'=>org, :email=>email, :password=>password}
|
1108
|
+
code, body, res = post("/v3/user/add/#{e name}", params)
|
1109
1109
|
if code != "200"
|
1110
1110
|
raise_error("Adding user failed", res)
|
1111
1111
|
end
|
data/lib/td/client/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: td-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.50
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-05-
|
12
|
+
date: 2013-05-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: msgpack
|