class Faraday::SSLOptions

@return [String, Symbol] maximum SSL version (see ruby-doc.org/stdlib-2.5.1/libdoc/openssl/rdoc/OpenSSL/SSL/SSLContext.html#method-i-max_version-3D)
@!attribute max_version
@return [String, Symbol] minimum SSL version (see ruby-doc.org/stdlib-2.5.1/libdoc/openssl/rdoc/OpenSSL/SSL/SSLContext.html#method-i-min_version-3D)
@!attribute min_version
@return [String, Symbol] SSL version (see ruby-doc.org/stdlib-2.5.1/libdoc/openssl/rdoc/OpenSSL/SSL/SSLContext.html#method-i-ssl_version-3D)
@!attribute version
@return [Integer] maximum depth for the certificate chain verification
@!attribute verify_depth
@return [OpenSSL::PKey::RSA, OpenSSL::PKey::DSA] private key (Excon only)
@!attribute private_key
@return [OpenSSL::X509::Certificate] certificate (Excon only)
@!attribute certificate
@return [String, OpenSSL::PKey::RSA, OpenSSL::PKey::DSA] client key
@!attribute client_key
@return [String, OpenSSL::X509::Certificate] client certificate
@!attribute client_cert
@return [OpenSSL::X509::Store] certificate store
@!attribute cert_store
@return [Integer] Any ‘OpenSSL::SSL::` constant (see ruby-doc.org/stdlib-2.5.1/libdoc/openssl/rdoc/OpenSSL/SSL.html)
@!attribute verify_mode
@return [String] CA path
@!attribute ca_path
@return [String] CA file
@!attribute ca_file
during the handshake or not (see github.com/ruby/openssl/pull/60)
@return [Boolean] whether to enable hostname verification on server certificates
@!attribute verify_hostname
@return [Boolean] whether to verify SSL certificates or not
@!attribute verify
SSL-related options.

def disable?

Returns:
  • (Boolean) - true if should not verify
def disable?
  !verify?
end

def verify?

Returns:
  • (Boolean) - true if should verify
def verify?
  verify != false
end

def verify_hostname?

Returns:
  • (Boolean) - true if should verify_hostname
def verify_hostname?
  verify_hostname != false
end