Class: Moist::RegistryProxy

Inherits:
Object
  • Object
show all
Defined in:
lib/moist/registry_proxy.rb

Class Method Summary collapse

Class Method Details

.register(campaign_slug, mailer_class, mailer_action, options = {}) ⇒ Object



3
4
5
6
# File 'lib/moist/registry_proxy.rb', line 3

def self.register(campaign_slug, mailer_class, mailer_action, options = {})
  ::Moist.step_registry.register(campaign_slug, mailer_class, mailer_action, options)
  ::Moist.mailer_registry.register(mailer_class, mailer_action)
end