module Datadog::Contrib::RestClient::Patcher
Patcher
enables patching of 'rest_client' module.
Public Instance Methods
patch()
click to toggle source
# File lib/ddtrace/contrib/rest_client/patcher.rb, line 16 def patch require 'ddtrace/ext/app_types' require 'ddtrace/contrib/rest_client/request_patch' ::RestClient::Request.include(RequestPatch) end
target_version()
click to toggle source
# File lib/ddtrace/contrib/rest_client/patcher.rb, line 12 def target_version Integration.version end