Module: Datadog::Tracing::Contrib::ActionPack::Patcher

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

Overview

Patcher enables patching of ‘action_pack’ module.

Class Method Summary collapse

Methods included from Patcher

included

Class Method Details

.patchObject



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

def patch
  ActionController::Patcher.patch
  ActionDispatch::Patcher.patch
end

.target_versionObject



17
18
19
# File 'lib/datadog/tracing/contrib/action_pack/patcher.rb', line 17

def target_version
  Integration.version
end