Skip to content

Instantly share code, notes, and snippets.

@mbklein
Created May 18, 2010 16:09
Show Gist options
  • Save mbklein/405165 to your computer and use it in GitHub Desktop.
Save mbklein/405165 to your computer and use it in GitHub Desktop.
class MyHTTP < Net::HTTP
def initialize(*args)
super(*args)
read_timeout = 120
end
end
MyHTTP.get_response(...)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment