Module: Datadog::Tracing::Contrib::Httprb::Patcher

Includes:
Patcher
Defined in:
lib/datadog/tracing/contrib/httprb/patcher.rb

Overview

Patcher enables patching of ‘httprb’ module.

Class Method Summary collapse

Methods included from Patcher

included

Class Method Details

.patchObject



22
23
24
# File 'lib/datadog/tracing/contrib/httprb/patcher.rb', line 22

def patch
  ::HTTP::Client.include(Instrumentation)
end

.target_versionObject



18
19
20
# File 'lib/datadog/tracing/contrib/httprb/patcher.rb', line 18

def target_version
  Integration.version
end