lib/payanyway/request/check.rb in payanyway-2.0.1 vs lib/payanyway/request/check.rb in payanyway-2.0.2
- old
+ new
@@ -77,10 +77,10 @@
<MNT_DESCRIPTION>#{ description }</MNT_DESCRIPTION>
<MNT_AMOUNT>#{ amount }</MNT_AMOUNT>
</MNT_RESPONSE>
EOXML
- Nokogiri::XML(xml, nil, 'UTF-8')
+ ::Nokogiri::XML(xml, nil, 'UTF-8')
end
def signature_node(xml)
create_new_node('MNT_SIGNATURE',
Payanyway::Helpers::SignatureGenerate.for_check_response(Hash.from_xml(xml.to_s)['MNT_RESPONSE']),