Class: Scimitar::Schema::ReferenceGroup

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

Overview

Represents the schema for the ReferenceGroup complex type, referring to a group of which a user is a member - used in a User SCIM resource’s “groups” array.

These are always read-only, with no ability to change the membership list through a User. Change via Groups instead.

See also Scimitar::ComplexTypes::ReferenceGroup

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



14
15
16
17
18
19
20
# File 'app/models/scimitar/schema/reference_group.rb', line 14

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