Sha256: a172a3e47e2fbe29e0817e4b2b9117dccaa7a3771f2baab5969fa6b45a99da8b

Contents?: true

Size: 236 Bytes

Versions: 42

Compression:

Stored size: 236 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

42 entries across 42 versions & 4 rubygems

Version Path
activemerchant-1.124.0 lib/active_merchant/net_http_ssl_connection.rb
activemerchant-1.123.0 lib/active_merchant/net_http_ssl_connection.rb
activemerchant-1.121.0 lib/active_merchant/net_http_ssl_connection.rb
activemerchant-1.120.0 lib/active_merchant/net_http_ssl_connection.rb
activemerchant-1.119.0 lib/active_merchant/net_http_ssl_connection.rb
activemerchant-1.118.0 lib/active_merchant/net_http_ssl_connection.rb
activemerchant-1.117.0 lib/active_merchant/net_http_ssl_connection.rb
activemerchant-1.116.0 lib/active_merchant/net_http_ssl_connection.rb
activemerchant-1.114.0 lib/active_merchant/net_http_ssl_connection.rb
activemerchant-1.113.0 lib/active_merchant/net_http_ssl_connection.rb
activemerchant-1.112.0 lib/active_merchant/net_http_ssl_connection.rb
activemerchant-1.111.0 lib/active_merchant/net_http_ssl_connection.rb
activemerchant-1.110.0 lib/active_merchant/net_http_ssl_connection.rb
activemerchant-1.109.0 lib/active_merchant/net_http_ssl_connection.rb
activemerchant-1.108.0 lib/active_merchant/net_http_ssl_connection.rb
activemerchant-1.107.4 lib/active_merchant/net_http_ssl_connection.rb
activemerchant-1.107.3 lib/active_merchant/net_http_ssl_connection.rb
activemerchant-1.107.2 lib/active_merchant/net_http_ssl_connection.rb
activemerchant-1.107.1 lib/active_merchant/net_http_ssl_connection.rb
activemerchant-1.106.0 lib/active_merchant/net_http_ssl_connection.rb