Module: Datadog::Tracing::Contrib::ActionCable::RootContextEvent::ClassMethods
- Includes:
- Event::ClassMethods
- Defined in:
- lib/datadog/tracing/contrib/action_cable/event.rb
Overview
Class methods for events.
Instance Method Summary collapse
Methods included from Event::ClassMethods
Instance Method Details
#subscription(*args, **kwargs) ⇒ Object
49 50 51 52 53 |
# File 'lib/datadog/tracing/contrib/action_cable/event.rb', line 49 def subscription(*args, **kwargs) super.tap do |subscription| subscription.before_trace { ensure_clean_context! } end end |