class Hermes::Cli::Pops
Public Class Methods
new(host, port = nil, certs = nil)
click to toggle source
Calls superclass method
Hermes::Cli::Pop.new
# File lib/hermes/cli/pop.rb, line 74 def initialize host, port = nil, certs = nil unless certs or Integer === port then port, certs = nil, port end @certs = File.expand_path certs if certs super host, port end
Private Instance Methods
do_apop() { || ... }
click to toggle source
# File lib/hermes/cli/pop.rb, line 84 def do_apop yield end
do_ssl()
click to toggle source
# File lib/hermes/cli/pop.rb, line 88 def do_ssl v = if @certs then OpenSSL::SSL::VERIFY_PEER else OpenSSL::SSL::VERIFY_NONE end @pop.enable_ssl v, @certs end