Sha256: b48c8e9fddaf41d3e379aa907dc1b873ec35906fdd4bea328ee12f97e6bb6f06
Contents?: true
Size: 657 Bytes
Versions: 12
Compression:
Stored size: 657 Bytes
Contents
# typed: ignore require_relative '../patcher' require_relative 'gateway/watcher' module Datadog module AppSec module Contrib module Rack # Patcher for Rack integration module Patcher include Datadog::AppSec::Contrib::Patcher module_function def patched? Patcher.instance_variable_get(:@patched) # TODO: Patcher.flag_patched end def target_version Integration.version end def patch Gateway::Watcher.watch Patcher.instance_variable_set(:@patched, true) end end end end end end
Version data entries
12 entries across 12 versions & 1 rubygems