method

new

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: MessageDelivery
new(mailer_class, action, *args) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# 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
Register or log in to add new notes.