Module: Datadog::Tracing::Contrib::ActiveModelSerializers::Event

Included in:
Datadog::Tracing::Contrib::ActiveModelSerializers::Events::Render, Datadog::Tracing::Contrib::ActiveModelSerializers::Events::Serialize
Defined in:
lib/datadog/tracing/contrib/active_model_serializers/event.rb

Overview

Defines basic behaviors for an ActiveModelSerializers event.

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



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

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