Parent

Files

ActionMailer::LogSubscriber

Public Instance Methods

deliver(event) click to toggle source
   # File lib/action_mailer/log_subscriber.rb, line 5
5:     def deliver(event)
6:       recipients = Array.wrap(event.payload[:to]).join(', ')
7:       info("\nSent mail to #{recipients} (%1.fms)" % event.duration)
8:       debug(event.payload[:mail])
9:     end
logger() click to toggle source
    # File lib/action_mailer/log_subscriber.rb, line 16
16:     def logger
17:       ActionMailer::Base.logger
18:     end
receive(event) click to toggle source
    # File lib/action_mailer/log_subscriber.rb, line 11
11:     def receive(event)
12:       info("\nReceived mail (%.1fms)" % event.duration)
13:       debug(event.payload[:mail])
14:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.