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.

Parameters:



68
69
70
71
# File 'lib/saml2/attribute_consuming_service.rb', line 68

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

Instance Attribute Details

#requested_attributeRequestedAttribute (readonly)

Returns:



65
66
67
# File 'lib/saml2/attribute_consuming_service.rb', line 65

def requested_attribute
  @requested_attribute
end