lib/xml/kit/templatable.rb in xml-kit-0.1.13 vs lib/xml/kit/templatable.rb in xml-kit-0.1.14
- old
+ new
@@ -39,9 +39,10 @@
::Xml::Kit::Template.new(model).to_xml(options)
end
def signature_for(reference_id:, xml:)
return unless sign?
+
signatures.build(reference_id).to_xml(xml: xml)
end
# Allows you to specify which key pair to use for generating an XML digital signature.
#