lib/saml/elements/authn_context.rb in libsaml-3.3.0 vs lib/saml/elements/authn_context.rb in libsaml-3.4.0

- old
+ new

@@ -3,13 +3,13 @@ class AuthnContext include Saml::Base tag "AuthnContext" namespace 'saml' - element :authn_context_class_ref, String, :tag => "AuthnContextClassRef" + element :authn_context_class_ref, String, tag: "AuthnContextClassRef" has_many :authenticating_authorities, ::Saml::Elements::AuthenticatingAuthority - validates :authn_context_class_ref, :inclusion => ClassRefs::ALL_CLASS_REFS + [nil] + validates :authn_context_class_ref, inclusion: ClassRefs::ALL_CLASS_REFS + [nil] end end end