Sha256: 9f74b2f3c30e331dfe9e05ef236201f5c4ea4ce13ff1881c457ccb1c08f42c61
Contents?: true
Size: 289 Bytes
Versions: 10
Compression:
Stored size: 289 Bytes
Contents
require 'open-uri' require 'net/https' module Net class HTTP alias_method :original_use_ssl=, :use_ssl= def use_ssl=(flag) self.ca_file = NetHttpSslFix::LOCAL_CA_FILE self.verify_mode = OpenSSL::SSL::VERIFY_PEER self.original_use_ssl = flag end end end
Version data entries
10 entries across 10 versions & 1 rubygems