Module: OpenURI
- Defined in:
- lib/ssl_certifier/open-uri.rb
Constant Summary collapse
- CaCertOptions =
{:ssl_ca_cert => File.join(File.("../../../certs/", __FILE__), 'cacert.pem')}
Class Method Summary collapse
Class Method Details
.open_http(buf, target, proxy, options) ⇒ Object
:nodoc:
7 8 9 10 |
# File 'lib/ssl_certifier/open-uri.rb', line 7 def OpenURI.open_http(buf, target, proxy, ) # :nodoc: = CaCertOptions.merge() OpenURI.open_http_without_ca_cert(buf, target, proxy, ) end |
.open_http_without_ca_cert ⇒ Object
5 |
# File 'lib/ssl_certifier/open-uri.rb', line 5 alias_method :open_http_without_ca_cert, :open_http |