Method: Mail::IMAP#initialize
- Defined in:
- lib/mail/network/retriever_methods/imap.rb
#initialize(values) ⇒ IMAP
Returns a new instance of IMAP.
42 43 44 45 46 47 48 49 50 |
# File 'lib/mail/network/retriever_methods/imap.rb', line 42 def initialize(values) self.settings = { :address => "localhost", :port => 143, :user_name => nil, :password => nil, :authentication => nil, :enable_ssl => false, :enable_starttls => false }.merge!(values) end |