Method: CFoundry::V1::Client#register

Defined in:
lib/cfoundry/v1/client.rb

#register(email, password) ⇒ Object

Create a user on the target and return a User object representing them.



198
199
200
201
# File 'lib/cfoundry/v1/client.rb', line 198

def register(email, password)
  @base.create_user(:email => email, :password => password)
  user(email)
end