lib/cfoundry/v1/base.rb in cfoundry-0.4.13 vs lib/cfoundry/v1/base.rb in cfoundry-0.4.14

- old
+ new

@@ -46,9 +46,14 @@ def system_runtimes get("info", "runtimes", :accept => :json) end # Users + def create_user(payload) + # no JSON response + post(payload, "users", :content => :json) + end + def create_token(payload, email) post(payload, "users", email, "tokens", :content => :json, :accept => :json) end