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
swiss-crm-activemerchant-1.0.13 lib/active_merchant/net_http_ssl_connection.rb
swiss-crm-activemerchant-1.0.12 lib/active_merchant/net_http_ssl_connection.rb
swiss-activemerchant-1.0.11 lib/active_merchant/net_http_ssl_connection.rb
swiss-activemerchant-1.0.10 lib/active_merchant/net_http_ssl_connection.rb
swiss-activemerchant-1.0.9 lib/active_merchant/net_http_ssl_connection.rb
swiss-activemerchant-1.0.8 lib/active_merchant/net_http_ssl_connection.rb
swiss-activemerchant-1.0.7 lib/active_merchant/net_http_ssl_connection.rb
swiss-activemerchant-1.0.6 lib/active_merchant/net_http_ssl_connection.rb
swiss-activemerchant-1.0.5 lib/active_merchant/net_http_ssl_connection.rb
swiss-activemerchant-1.0.4 lib/active_merchant/net_http_ssl_connection.rb
activemerchant-1.137.0 lib/active_merchant/net_http_ssl_connection.rb
swiss-activemerchant-1.0.2 lib/active_merchant/net_http_ssl_connection.rb
swiss-activemerchant-1.0.1 lib/active_merchant/net_http_ssl_connection.rb
activemerchant-1.133.0 lib/active_merchant/net_http_ssl_connection.rb
activemerchant-1.131.0 lib/active_merchant/net_http_ssl_connection.rb
activemerchant-1.130.0 lib/active_merchant/net_http_ssl_connection.rb
activemerchant-1.129.0 lib/active_merchant/net_http_ssl_connection.rb
activemerchant-1.126.0 lib/active_merchant/net_http_ssl_connection.rb
activemerchant-1.125.0 lib/active_merchant/net_http_ssl_connection.rb
archetype2142_activemerchant-1.124.0 lib/active_merchant/net_http_ssl_connection.rb