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



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

def patch
  ActionController::Patcher.patch
end

.target_versionObject



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

def target_version
  Integration.version
end