method
create_ssl_params
create_ssl_params(verify_or_params = {}, certs = nil)
public
Hide source
# File lib/net/pop.rb, line 336 def POP3.create_ssl_params(verify_or_params = {}, certs = nil) begin params = verify_or_params.to_hash rescue NoMethodError params = {} params[:verify_mode] = verify_or_params if certs if File.file?(certs) params[:ca_file] = certs elsif File.directory?(certs) params[:ca_path] = certs end end end return params end