Module: Hanami::Extensions::Mailer Private

Defined in:
lib/hanami/extensions/mailer.rb,
lib/hanami/extensions/mailer/slice_configured_mailer.rb

Overview

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Integrated behavior for ‘Hanami::Mailer` classes within Hanami apps.

Since:

  • 0.1.0

Defined Under Namespace

Modules: ClassMethods Classes: SliceConfiguredMailer

Class Method Summary collapse

Class Method Details

.included(mailer_class) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Since:

  • 0.1.0



12
13
14
15
16
17
# File 'lib/hanami/extensions/mailer.rb', line 12

def self.included(mailer_class)
  super

  mailer_class.extend(Hanami::SliceConfigurable)
  mailer_class.extend(ClassMethods)
end