Class: ScimEngine::Schema::Name

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

Overview

Represnts the schema for the Name complex type

See Also:

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



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

def self.scim_attributes
  @scim_attributes ||= [
    Attribute.new(name: 'familyName', type: 'string'),
    Attribute.new(name: 'givenName', type: 'string'),
    Attribute.new(name: 'formatted', type: 'string', required: false)
  ]
end