module Datadog::Contrib::HTTP::Patcher
Patcher
enables patching of 'net/http' module.
Public Instance Methods
patch()
click to toggle source
patch applies our patch if needed
# File lib/ddtrace/contrib/http/patcher.rb, line 21 def patch ::Net::HTTP.include(Instrumentation) end
target_version()
click to toggle source
# File lib/ddtrace/contrib/http/patcher.rb, line 16 def target_version Integration.version end