lib/saml/kit/builders/response.rb in saml-kit-1.0.2 vs lib/saml/kit/builders/response.rb in saml-kit-1.0.3

- old
+ new

@@ -33,22 +33,22 @@ rescue => error Saml::Kit.logger.error(error) nil end - private - def assertion @assertion ||= begin - assertion = Saml::Kit::Builders::Assertion.new(self) + assertion = Saml::Kit::Builders::Assertion.new(self, embed_signature) if encrypt Saml::Kit::Builders::EncryptedAssertion.new(self, assertion) else assertion end end end + + private def response_options { ID: id, Version: version,