Class: Scimitar::Schema::ReferenceMember

Inherits:
Base
  • Object
show all
Defined in:
app/models/scimitar/schema/reference_member.rb

Overview

Represents the schema for the ReferenceMember complex type, referring to a member of a group (where members can themselves be Users or Groups, identified by the “type” attribute). Used by the Group SCIM resource’s “members” array.

See also Scimitar::ComplexTypes::ReferenceMember

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, find_attribute, #initialize, valid?

Constructor Details

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

Class Method Details

.scim_attributesObject



12
13
14
15
16
17
18
# File 'app/models/scimitar/schema/reference_member.rb', line 12

def self.scim_attributes
  @scim_attributes ||= [
    Attribute.new(name: 'value',    type: 'string', mutability: 'immutable', required: true),
    Attribute.new(name: 'type',     type: 'string', mutability: 'immutable'),
    Attribute.new(name: 'display',  type: 'string', mutability: 'immutable'),
  ]
end