Module: Mail::MadMimi::SetMailerAction

Defined in:
lib/mail/mad_mimi.rb

Instance Method Summary collapse

Instance Method Details

#wrap_delivery_behavior!(*args) ⇒ Object



68
69
70
71
72
# File 'lib/mail/mad_mimi.rb', line 68

def wrap_delivery_behavior!(*args)
  super
  message.class_eval { attr_accessor :mailer_action }
  message.mailer_action = "#{self.class}.#{action_name}"
end