module Openstack::Helpers::HTTPSClient
Enables SSL mode for the specified uri.
Public Instance Methods
https_client()
click to toggle source
# File lib/openstack/helpers/https_client.rb, line 7 def https_client Net::HTTP.new(uri.host, uri.port).tap do |client| client.use_ssl = true client.verify_mode = OpenSSL::SSL::VERIFY_NONE end end