lib/active_merchant/connection.rb in activemerchant-1.80.0 vs lib/active_merchant/connection.rb in activemerchant-1.81.0
- old
+ new
@@ -175,22 +175,9 @@
else
http.key = OpenSSL::PKey::RSA.new(pem)
end
end
- def handle_response(response)
- if @ignore_http_status then
- return response.body
- else
- case response.code.to_i
- when 200...300
- response.body
- else
- raise ResponseError.new(response)
- end
- end
- end
-
def debug(message, tag = nil)
log(:debug, message, tag)
end
def info(message, tag = nil)