Sha256: a6c0ad4ee05095843db265d8e2c2cfa427cbd9b6975865b830f90f87ea71a2ff
Contents?: true
Size: 677 Bytes
Versions: 3
Compression:
Stored size: 677 Bytes
Contents
# typed: true # frozen_string_literal: true require 'rest-client' require 'net/http' module Workato module Extension module ExtraChainCert module Net module HTTP attr_accessor :extra_chain_cert def self.included(base) ssl_ivnames = base.const_get('SSL_IVNAMES', false) ssl_ivnames << :@extra_chain_cert unless ssl_ivnames.include?(:@extra_chain_cert) ssl_attributes = base.const_get('SSL_ATTRIBUTES', false) ssl_attributes << :extra_chain_cert unless ssl_attributes.include?(:extra_chain_cert) end end end ::Net::HTTP.include Net::HTTP end end end
Version data entries
3 entries across 3 versions & 1 rubygems