lib/epp-eis/extensions.rb in epp-eis-1.0.1 vs lib/epp-eis/extensions.rb in epp-eis-1.0.2

- old
+ new

@@ -9,10 +9,10 @@ def append_legal_document(xml, legal_document, legal_doc_type) xml.extension { xml.extdata('xmlns:eis' => 'urn:ee:eis:xml:epp:eis-1.0', 'xsi:schemaLocation' => 'urn:ee:eis:xml:epp:eis-1.0 eis-1.0.xsd') { xml.parent.namespace = xml.parent.namespace_definitions.first - xml.legalDocument Base64.encode64(legal_document), 'type' => legal_doc_type + xml['eis'].legalDocument Base64.encode64(legal_document), 'type' => legal_doc_type } } end end end \ No newline at end of file