Method: Scimitar::ComplexTypes::Base#as_json
- Defined in:
- app/models/scimitar/complex_types/base.rb
#as_json(options = {}) ⇒ Object
Converts the object to its SCIM representation, which is always JSON.
options
-
A hash that could provide default values for some of the attributes of this complex type object.
77 78 79 80 |
# File 'app/models/scimitar/complex_types/base.rb', line 77 def as_json(={}) exclusions = [:except] || ['errors'] super(.merge(except: exclusions)) end |