Class/Module Index [+]

Quicksearch

OpenURI

Public Class Methods

without_ssl_verification() click to toggle source
# File lib/deltacloud/drivers/gogrid/gogrid_client.rb, line 32
def self.without_ssl_verification
  old = ::OpenSSL::SSL::VERIFY_PEER
  suppress_warnings { ::OpenSSL::SSL.const_set :VERIFY_PEER, OpenSSL::SSL::VERIFY_NONE }
  yield
ensure
  suppress_warnings { ::OpenSSL::SSL.const_set :VERIFY_PEER, old }
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.