Methods

Ethon::Curls::SslVersions

This module contains the ssl version.

Public Instance Methods

ssl_versions() click to toggle source

Return the ssl versions.

@example Retur the ssl versions.

Ethon::Curl.ssl_versions

@return [ Hash ] The versions.

# File lib/ethon/curls/ssl_versions.rb, line 13
def ssl_versions
  {
    :default =>0,
    :tlsv1 =>  1,
    :sslv2 =>  2,
    :sslv3 =>  3
  }
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.