cfoundry 0.4.13 → 0.4.14
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/cfoundry/v1/base.rb +5 -0
- data/lib/cfoundry/version.rb +1 -1
- metadata +4 -4
data/lib/cfoundry/v1/base.rb
CHANGED
@@ -48,6 +48,11 @@ module CFoundry::V1
|
|
48
48
|
end
|
49
49
|
|
50
50
|
# Users
|
51
|
+
def create_user(payload)
|
52
|
+
# no JSON response
|
53
|
+
post(payload, "users", :content => :json)
|
54
|
+
end
|
55
|
+
|
51
56
|
def create_token(payload, email)
|
52
57
|
post(payload, "users", email, "tokens",
|
53
58
|
:content => :json, :accept => :json)
|
data/lib/cfoundry/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cfoundry
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 19
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 4
|
9
|
-
-
|
10
|
-
version: 0.4.
|
9
|
+
- 14
|
10
|
+
version: 0.4.14
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Alex Suraci
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-12-
|
18
|
+
date: 2012-12-15 00:00:00 -08:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|