Net::HTTP reponse method - custom timeout

Is there a way to specify a timeout period for the request? Net::HTTP
has a read_timeout attribute, but I can see how to use it, if this is
the approach to take.

Here's what I've got

http = Net::HTTP.new(uri.host, uri.port)
http.open_timeout = x
http.read_timeout = y
response = http.start do |http|
   http.request_get(path)
end