class SystemMetrics::Instrument::ActionMailer

Public Class Methods

new() click to toggle source
Calls superclass method SystemMetrics::Instrument::Base::new
# File lib/system_metrics/instrument/action_mailer.rb, line 5
def initialize
  super /\.action_mailer$/
end

Public Instance Methods

prepare(event) click to toggle source
# File lib/system_metrics/instrument/action_mailer.rb, line 9
def prepare(event)
  event.payload.except!(:mail)
end