Exception: SAML2::RequiredAttributeMissing
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- SAML2::RequiredAttributeMissing
- Defined in:
- lib/saml2/attribute_consuming_service.rb
Instance Attribute Summary collapse
-
#requested_attribute ⇒ Object
readonly
Returns the value of attribute requested_attribute.
Instance Method Summary collapse
-
#initialize(requested_attribute) ⇒ RequiredAttributeMissing
constructor
A new instance of RequiredAttributeMissing.
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_attribute ⇒ Object (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 |