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



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

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