Module: Datadog::Contrib::Shoryuken::Patcher
- Includes:
- Patcher
- Defined in:
- lib/ddtrace/contrib/shoryuken/patcher.rb
Overview
Patcher enables patching of ‘shoryuken’ module.
Class Method Summary collapse
Methods included from Patcher
Class Method Details
.patch ⇒ Object
16 17 18 19 20 |
# File 'lib/ddtrace/contrib/shoryuken/patcher.rb', line 16 def patch ::Shoryuken.server_middleware do |chain| chain.add Shoryuken::Tracer end end |
.target_version ⇒ Object
12 13 14 |
# File 'lib/ddtrace/contrib/shoryuken/patcher.rb', line 12 def target_version Integration.version end |