Method: Net::HTTP#open_timeout
- Defined in:
- lib/net/http.rb
#open_timeout ⇒ Object
Sets or returns the numeric (Integer or Float) number of seconds to wait for a connection to open; initially 60. If the connection is not made in the given interval, an exception is raised.
1367 1368 1369 |
# File 'lib/net/http.rb', line 1367 def open_timeout @open_timeout end |