Method: ESP::User.create

Defined in:
lib/esp/resources/user.rb

.create(attributes = {}) ⇒ ESP::User

Create a User. call-seq -> super.create(attributes={})

Examples:

user = ESP::User.create(first_name: 'John', last_name: 'Doe', email: "[email protected]")

Parameters:

  • attributes (Hash) (defaults to: {})

    Required hash of user attributes.

    Valid Attributes

    See API documentation for valid arguments

Returns:



# File 'lib/esp/resources/user.rb', line 61