enable_ssl(verify_or_params = {}, certs = nil, port = nil) public

Enables SSL for this instance. Must be called before the connection is established to have any effect. +params[:port]+ is port to establish the SSL connection on; Defaults to 995. params (except :port) is passed to OpenSSL::SSLContext#set_params.

Show source
Register or log in to add new notes.