Class: SAML2::Conditions::Condition
- Defined in:
- lib/saml2/conditions.rb
Overview
Any unknown condition
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#build, #decrypt, from_xml, #from_xml, #initialize, #inspect, load_object_array, load_string_array, lookup_qname, #to_s, #to_xml
Constructor Details
This class inherits a constructor from SAML2::Base
Instance Method Details
#valid? ⇒ Boolean
88 89 90 |
# File 'lib/saml2/conditions.rb', line 88 def valid?(...) validate(...).empty? end |
#validate(_) ⇒ Object
Returns [].
84 85 86 |
# File 'lib/saml2/conditions.rb', line 84 def validate(_) ["unable to validate #{xml&.name || "unrecognized"} condition"] end |