lib/g5_authentication_client/client.rb
def create_user(options={})
      user=User.new(options)
      user.validate_for_create!
      body = user_hash(user.to_hash)
      response=oauth_access_token.post('/v1/users', body: body)
      User.new(response.parsed)
    end
def create_user(options={})
      user=User.new(options)
      user.validate_for_create!
      body = user_hash(user.to_hash)
      response=oauth_access_token.post('/v1/users', body: body)
      User.new(response.parsed)
    end
def create_user ( options = { } ) user = User . new ( options ) user . validate_for_create! body = user_hash ( user . to_hash ) response = oauth_access_token . post ( '/v1/users' , body : body ) User . new ( response . parsed ) end
Create a user from the options
 @param [Hash] options
 @option options [String] :email The new user's email address
 @option options [String] :password The new user's password
 @option options [String] :password_confirmation The new user's password confirmation string
 @return [G5AuthenticationClient::User]
Create a user from the options