Class: Lipwig::Senders::SMTPConnection
- Defined in:
- lib/lipwig/senders/smtp_connection.rb
Instance Method Summary collapse
Methods inherited from Abstract
Constructor Details
This class inherits a constructor from Lipwig::Senders::Abstract
Instance Method Details
#call ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 16 |
# File 'lib/lipwig/senders/smtp_connection.rb', line 5 def call connection.start( ENV['LIPWIG_SMTP_DOMAIN'], ENV['LIPWIG_SMTP_USERNAME'], ENV['LIPWIG_SMTP_PASSWORD'], :plain ) super connection.finish end |