Sha256: 1a48414f7cdc513d5f73dabd977bef22582c6b00effb1c6bf8b63606b782d27e
Contents?: true
Size: 335 Bytes
Versions: 8
Compression:
Stored size: 335 Bytes
Contents
module CFoundry module ProxyOptions def proxy_options_for(uri) proxy_uri = uri.find_proxy if proxy_uri.nil? [] else proxy_user, proxy_password = proxy_uri.userinfo.split(/:/) if proxy_uri.userinfo [proxy_uri.host, proxy_uri.port, proxy_user, proxy_password] end end end end
Version data entries
8 entries across 8 versions & 2 rubygems