Module: Datadog::Contrib::Racecar::Event

Included in:
Datadog::Contrib::Racecar::Events::Batch, Datadog::Contrib::Racecar::Events::Message
Defined in:
lib/ddtrace/contrib/racecar/event.rb

Overview

Defines basic behaviors for an ActiveRecord event.

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



10
11
12
13
# File 'lib/ddtrace/contrib/racecar/event.rb', line 10

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