in order for the timeout to be in the lib, basically all calls using "resource" in lib/proxy_api/resource.rb should include a timeout param, honestly I have no preference, the only advantage I find to put it on the helper is that you only explicitly control the timeout once (to make sure there's a connection), then the rest of the calls issued after that assume the proxy is available.