Exception: SAML2::RequiredAttributeMissing

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/saml2/attribute_consuming_service.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(requested_attribute) ⇒ RequiredAttributeMissing

Returns a new instance of RequiredAttributeMissing.



27
28
29
30
# File 'lib/saml2/attribute_consuming_service.rb', line 27

def initialize(requested_attribute)
  super("Required attribute #{requested_attribute.name} not provided")
  @requested_attribute = requested_attribute
end

Instance Attribute Details

#requested_attributeObject (readonly)

Returns the value of attribute requested_attribute.



25
26
27
# File 'lib/saml2/attribute_consuming_service.rb', line 25

def requested_attribute
  @requested_attribute
end