Method: Net::HTTP#open_timeout

Defined in:
lib/net/http.rb

#open_timeoutObject

Number of seconds to wait for the connection to open. Any number may be used, including Floats for fractional seconds. If the HTTP object cannot open a connection in this many seconds, it raises a Net::OpenTimeout exception. The default value is 60 seconds.


706
707
708
# File 'lib/net/http.rb', line 706

def open_timeout
  @open_timeout
end