method

new

rails latest stable - Class: ActionMailer::MessageDelivery
new(mailer_class, action, *args)
public

No documentation available.

# File actionmailer/lib/action_mailer/message_delivery.rb, line 20
    def initialize(mailer_class, action, *args) # :nodoc:
      @mailer_class, @action, @args = mailer_class, action, args

      # The mail is only processed if we try to call any methods on it.
      # Typical usage will leave it unloaded and call deliver_later.
      @processed_mailer = nil
      @mail_message = nil
    end