lib/payture/cheques/methods/base.rb in payture-cheques-0.1.0 vs lib/payture/cheques/methods/base.rb in payture-cheques-0.1.2
- old
+ new
@@ -55,10 +55,10 @@
JSON.parse(http_response.body)
rescue JSON::ParserError => e
raise Error, "#{e.class}: #{e.message}"
end
- config.logger.debug(pp(body)) if config.logger
+ config.logger.debug(body) if config.logger
response_class.new(body)
end
def encoded_data(**params)
params_str = compact_hash(params).map { |k, v| "#{k}=#{v}" }.join(';')