lib/adyen/api/response.rb in adyen-1.4.0 vs lib/adyen/api/response.rb in adyen-1.4.1
- old
+ new
@@ -39,10 +39,10 @@
@http_response.is_a?(Net::HTTPServerError) && fault_message.nil?
end
# @return [XMLQuerier] The response body wrapped in a XMLQuerier.
def xml_querier
- @xml_querier ||= XMLQuerier.new(@http_response.body)
+ @xml_querier ||= XMLQuerier.xml(@http_response.body)
end
# @return [Hash] Subclasses return the parsed response body.
def params
raise "The Adyen::API::Response#params method should be overridden in a subclass."