monkey patch HTTParty to use a timeout

I’m using HTTParty to write a client to an API I’m developing. One of the API calls is a setup thing and takes a long time to run, so HTTParty was barfing on timeouts. So I monkey patched HTTParty’s Request class to accept a timeout. No more barfs.


About this entry