lib/saml/kit/logout_request.rb in saml-kit-0.1.0 vs lib/saml/kit/logout_request.rb in saml-kit-0.2.0

- old
+ new

@@ -38,14 +38,14 @@ @version = "2.0" @sign = sign end def to_xml - Signature.sign(id, sign: sign) do |xml, signature| + Signature.sign(sign: sign) do |xml, signature| xml.instruct! xml.LogoutRequest logout_request_options do xml.Issuer({ xmlns: Namespaces::ASSERTION }, issuer) - signature.template(xml) + signature.template(id) xml.NameID name_id_options, user.name_id_for(name_id_format) end end end