Class: SystemMetrics::Instrument::ActionMailer
- Defined in:
- lib/system_metrics/instrument/action_mailer.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize ⇒ ActionMailer
constructor
A new instance of ActionMailer.
- #prepare(event) ⇒ Object
Methods inherited from Base
#handles?, #ignore?, #mapped_paths, #prune_path
Constructor Details
#initialize ⇒ ActionMailer
Returns a new instance of ActionMailer.
5 6 7 |
# File 'lib/system_metrics/instrument/action_mailer.rb', line 5 def initialize super /\.action_mailer$/ end |
Instance Method Details
#prepare(event) ⇒ Object
9 10 11 |
# File 'lib/system_metrics/instrument/action_mailer.rb', line 9 def prepare(event) event.payload.except!(:mail) end |