module Datadog::Contrib::Sneakers::Patcher

Patcher enables patching of 'sneakers' module.

Public Instance Methods

patch() click to toggle source
# File lib/ddtrace/contrib/sneakers/patcher.rb, line 19
def patch
  ::Sneakers.middleware.use(Sneakers::Tracer, nil)
end
target_version() click to toggle source
# File lib/ddtrace/contrib/sneakers/patcher.rb, line 15
def target_version
  Integration.version
end