Module: Datadog::Contrib::ActionCable::Patcher
- Includes:
- Patcher
- Defined in:
- lib/ddtrace/contrib/action_cable/patcher.rb
Overview
Patcher enables patching of ‘action_cable’ module.
Class Method Summary collapse
Methods included from Patcher
Class Method Details
.patch ⇒ Object
20 21 22 23 |
# File 'lib/ddtrace/contrib/action_cable/patcher.rb', line 20 def patch Events.subscribe! ::ActionCable::Connection::Base.prepend(Instrumentation::ActionCableConnection) end |
.target_version ⇒ Object
16 17 18 |
# File 'lib/ddtrace/contrib/action_cable/patcher.rb', line 16 def target_version Integration.version end |