Module: Datadog::Tracing::Events::ClassMethods

Defined in:
lib/datadog/tracing/event.rb

Overview

Class methods

Instance Method Summary collapse

Instance Method Details

#build(**event_handlers) ⇒ Object



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

def build(**event_handlers)
  events = new
  events.subscribe(**event_handlers)
  events
end