Module: Scim::Kit::V2::Attributable

Included in:
Attribute, Resource
Defined in:
lib/scim/kit/v2/attributable.rb

Overview

Represents a dynamic attribute that corresponds to a SCIM type

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#dynamic_attributesObject (readonly)

Returns the value of attribute dynamic_attributes.



8
9
10
# File 'lib/scim/kit/v2/attributable.rb', line 8

def dynamic_attributes
  @dynamic_attributes
end

Instance Method Details

#define_attributes_for(types) ⇒ Object



10
11
12
13
# File 'lib/scim/kit/v2/attributable.rb', line 10

def define_attributes_for(types)
  @dynamic_attributes = {}.with_indifferent_access
  types.each { |x| attribute(x) }
end