Class: ScimEngine::Schema::Email

Inherits:
Base
  • Object
show all
Defined in:
app/models/scim_engine/schema/email.rb

Overview

Represnts the schema for the Email complex type

Instance Attribute Summary

Attributes inherited from Base

#description, #id, #meta, #name, #scim_attributes

Class Method Summary collapse

Methods inherited from Base

#as_json, cloned_scim_attributes, #initialize, valid?

Constructor Details

This class inherits a constructor from ScimEngine::Schema::Base

Class Method Details

.scim_attributesObject



6
7
8
9
10
11
12
# File 'app/models/scim_engine/schema/email.rb', line 6

def self.scim_attributes
  @scim_attributes ||= [
    Attribute.new(name: 'value', type: 'string'),
    Attribute.new(name: 'primary', type: 'boolean', required: false),
    Attribute.new(name: 'type', type: 'string', required: false)
  ]
end