Module: Moist::ActionMailer::Extension::ClassMethods

Defined in:
lib/moist/action_mailer/extension.rb

Instance Method Summary collapse

Instance Method Details

#moist(mailer_action, campaign:, step:, delay:) ⇒ Object



29
30
31
# File 'lib/moist/action_mailer/extension.rb', line 29

def moist(mailer_action, campaign:, step:, delay:)
  ::Moist::RegistryProxy.register(campaign, self.name, mailer_action, step: step, delay: delay)
end