Sha256: df7d00283ae4a25169a52033e43fdf6daa90d496b478077eaa738d541e5f9cfd
Contents?: true
Size: 613 Bytes
Versions: 5
Compression:
Stored size: 613 Bytes
Contents
# typed: true module Datadog module Contrib module RestClient # Patcher enables patching of 'rest_client' module. module Patcher include Kernel # Ensure that kernel methods are always available (https://sorbet.org/docs/error-reference#7003) include Contrib::Patcher module_function def target_version Integration.version end def patch require 'ddtrace/ext/app_types' require 'ddtrace/contrib/rest_client/request_patch' ::RestClient::Request.include(RequestPatch) end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems