Sha256: 35c3b212126dc5629f4c0ca6ec6a13c2fbc56a325482c893f04de40d1b1e6db7

Contents?: true

Size: 491 Bytes

Versions: 2

Compression:

Stored size: 491 Bytes

Contents

require_relative '../patcher'
require_relative 'action_controller/patcher'

module Datadog
  module Tracing
    module Contrib
      module ActionPack
        # Patcher enables patching of 'action_pack' module.
        module Patcher
          include Contrib::Patcher

          module_function

          def target_version
            Integration.version
          end

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ddtrace-1.10.1 lib/datadog/tracing/contrib/action_pack/patcher.rb
ddtrace-1.10.0 lib/datadog/tracing/contrib/action_pack/patcher.rb