Method: Utopia::Exceptions::Mailer#initialize
- Defined in:
- lib/utopia/exceptions/mailer.rb
#initialize(app, to: "postmaster", from: DEFAULT_FROM, subject: DEFAULT_SUBJECT, delivery_method: LOCAL_SMTP, dump_environment: false) ⇒ Mailer
Returns a new instance of Mailer.
28 29 30 31 32 33 34 35 36 |
# File 'lib/utopia/exceptions/mailer.rb', line 28 def initialize(app, to: "postmaster", from: DEFAULT_FROM, subject: DEFAULT_SUBJECT, delivery_method: LOCAL_SMTP, dump_environment: false) @app = app @to = to @from = from @subject = subject @delivery_method = delivery_method @dump_environment = dump_environment end |