Class: FastMailer::Configuration
- Inherits:
-
Object
- Object
- FastMailer::Configuration
- Defined in:
- lib/fast-mailer/configuration.rb
Class Method Summary collapse
Class Method Details
.smtp_configuration(options = nil) ⇒ Object
6 7 8 9 10 11 12 |
# File 'lib/fast-mailer/configuration.rb', line 6 def self.smtp_configuration( = nil) if .is_a? Hash else eval(File.read( || File.("~/.config/smtp.rb"))) end end |