Module: Datadog::Tracing::Contrib::ActionMailer::Event

Included in:
Datadog::Tracing::Contrib::ActionMailer::Events::Deliver, Datadog::Tracing::Contrib::ActionMailer::Events::Process
Defined in:
lib/datadog/tracing/contrib/action_mailer/event.rb

Overview

Defines basic behaviors for an ActionMailer event.

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



13
14
15
16
# File 'lib/datadog/tracing/contrib/action_mailer/event.rb', line 13

def self.included(base)
  base.send(:include, ActiveSupport::Notifications::Event)
  base.send(:extend, ClassMethods)
end