Sha256: d249a0996b90f150e571c0aa2b0429aa9f26362d3be3ac93a1d0af7237a63600
Contents?: true
Size: 398 Bytes
Versions: 6
Compression:
Stored size: 398 Bytes
Contents
module OpenURI CaCertOptions = {:ssl_ca_cert => File.join(File.expand_path("../../../certs/", __FILE__), 'cacert.pem')} class << self alias_method :open_http_without_ca_cert, :open_http def OpenURI.open_http(buf, target, proxy, options) # :nodoc: options = CaCertOptions.merge(options) OpenURI.open_http_without_ca_cert(buf, target, proxy, options) end end end
Version data entries
6 entries across 6 versions & 1 rubygems