lib/braintree/http.rb in braintree-2.37.0 vs lib/braintree/http.rb in braintree-2.38.0

- old
+ new

@@ -58,9 +58,10 @@ end end def _http_do(http_verb, path, body = nil) connection = Net::HTTP.new(@config.server, @config.port) + connection.open_timeout = 60 connection.read_timeout = 60 if @config.ssl? connection.use_ssl = true connection.verify_mode = OpenSSL::SSL::VERIFY_PEER connection.ca_file = @config.ca_file