Sha256: f5d3db29a26296d0f1f7b26c016c06f1f3c6852c90d22eb9ff0f76d9eb6e0522

Contents?: true

Size: 183 Bytes

Versions: 3

Compression:

Stored size: 183 Bytes

Contents

require 'net/http'

module NetHttpSslConnection
  refine Net::HTTP do
    def ssl_connection
      { version: @socket.io.ssl_version, cipher: @socket.io.cipher[0] }
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
activemerchant-1.79.2 lib/active_merchant/net_http_ssl_connection.rb
activemerchant-1.79.1 lib/active_merchant/net_http_ssl_connection.rb
activemerchant-1.79.0 lib/active_merchant/net_http_ssl_connection.rb