method

timeout=

timeout=(new_timeout)
public

Sets the Net::HTTP#read_timeout and Net::HTTP#open_timeout to new_timeout