Sha256: 49eb0ba8d6b349a58fc4045ad47750e310e9070f5e073b21a1b1aeb288705de7

Contents?: true

Size: 235 Bytes

Versions: 21

Compression:

Stored size: 235 Bytes

Contents

require 'net/http'

module NetHttpSslConnection
  refine Net::HTTP do
    def ssl_connection
      return {} unless use_ssl? && @socket.present?
      { version: @socket.io.ssl_version, cipher: @socket.io.cipher[0] }
    end
  end
end

Version data entries

21 entries across 21 versions & 2 rubygems

Version Path
activemerchant-1.84.0 lib/active_merchant/net_http_ssl_connection.rb