Closed juanghurtado closed 12 years ago
Hi there!
I have changed the "send" method in gists.rb to check if HTTP_PROXY environment variable exists. If so, use it with Net::HTTP::Proxy.
It's the first time I write Ruby, so I'm sure it can be done better. Anyways, there you have it.
Thanks for your work!
Little improvement to the code, and use "http_proxy" instead of "HTTP_PROXY".
Thanks @antonio for this last change
Closing…
Hi there!
I have changed the "send" method in gists.rb to check if HTTP_PROXY environment variable exists. If so, use it with Net::HTTP::Proxy.
It's the first time I write Ruby, so I'm sure it can be done better. Anyways, there you have it.
Thanks for your work!