lib/saml/kit/logout_request.rb in saml-kit-0.2.3 vs lib/saml/kit/logout_request.rb in saml-kit-0.2.4
- old
+ new
@@ -2,11 +2,11 @@
module Kit
class LogoutRequest < Document
include Requestable
validates_presence_of :single_logout_service, if: :expected_type?
- def initialize(xml)
- super(xml, name: "LogoutRequest")
+ def initialize(xml, configuration: Saml::Kit.configuration)
+ super(xml, name: "LogoutRequest", configuration: configuration)
end
def name_id
to_h[name]['NameID']
end