Module: Moist::ActionMailer::Extension

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

Defined Under Namespace

Modules: ClassMethods

Constant Summary collapse

MOIST_VARS =
[:@moist_user, :@moist_subscriber]

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



5
6
7
8
# File 'lib/moist/action_mailer/extension.rb', line 5

def self.included(klass)
  klass.extend ClassMethods
  klass.after_action :attach_metadata
end