Class: ScimEngine::ComplexTypes::Email
- Defined in:
- app/models/scim_engine/complex_types/email.rb
Overview
Represents the complex email type.
Instance Method Summary collapse
-
#as_json(options = {}) ⇒ Object
Returns the json representation of an email.
Methods inherited from Base
Methods included from Errors
Constructor Details
This class inherits a constructor from ScimEngine::ComplexTypes::Base
Instance Method Details
#as_json(options = {}) ⇒ Object
Returns the json representation of an email.
9 10 11 |
# File 'app/models/scim_engine/complex_types/email.rb', line 9 def as_json( = {}) {'type' => 'work', 'primary' => true}.merge(super()) end |