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.103.0 lib/active_merchant/net_http_ssl_connection.rb
activemerchant-1.102.0 lib/active_merchant/net_http_ssl_connection.rb
activemerchant-1.101.0 lib/active_merchant/net_http_ssl_connection.rb
activemerchant-1.100.0 lib/active_merchant/net_http_ssl_connection.rb
activemerchant-1.99.0 lib/active_merchant/net_http_ssl_connection.rb
activemerchant-1.98.0 lib/active_merchant/net_http_ssl_connection.rb
active_accountability_merchant-1.97.1 lib/active_merchant/net_http_ssl_connection.rb
activemerchant-1.97.0 lib/active_merchant/net_http_ssl_connection.rb
activemerchant-1.96.0 lib/active_merchant/net_http_ssl_connection.rb
activemerchant-1.95.0 lib/active_merchant/net_http_ssl_connection.rb
activemerchant-1.94.0 lib/active_merchant/net_http_ssl_connection.rb
activemerchant-1.93.0 lib/active_merchant/net_http_ssl_connection.rb
activemerchant-1.92.0 lib/active_merchant/net_http_ssl_connection.rb
activemerchant-1.91.0 lib/active_merchant/net_http_ssl_connection.rb
activemerchant-1.90.0 lib/active_merchant/net_http_ssl_connection.rb
activemerchant-1.89.0 lib/active_merchant/net_http_ssl_connection.rb
activemerchant-1.88.0 lib/active_merchant/net_http_ssl_connection.rb
activemerchant-1.87.0 lib/active_merchant/net_http_ssl_connection.rb
activemerchant-1.86.0 lib/active_merchant/net_http_ssl_connection.rb
activemerchant-1.85.0 lib/active_merchant/net_http_ssl_connection.rb