Class: Echosign::User
- Inherits:
-
Hash
- Object
- Hash
- Echosign::User
- Includes:
- Validatable
- Defined in:
- lib/echosign/user.rb
Instance Method Summary collapse
-
#initialize(params) ⇒ String
constructor
Creates a user for the current application.
Methods included from Validatable
#require_exactly_one, #require_keys, #validate_field
Constructor Details
#initialize(params) ⇒ String
Creates a user for the current application
30 31 32 33 |
# File 'lib/echosign/user.rb', line 30 def initialize(params) require_keys([:firstName, :lastName, :email, :password], params) merge!(params) end |