Sha256: 7996a50e0e7b6573f7667572ea9f807524be0c693fb7048ee14ea078695063d1
Contents?: true
Size: 612 Bytes
Versions: 22
Compression:
Stored size: 612 Bytes
Contents
# frozen_string_literal: true module Datadog module Tracing module Contrib module Faraday # Handles installation of our middleware if the user has *not* # already explicitly configured it for this correction. # # RackBuilder class was introduced in faraday 0.9.0: # https://github.com/lostisland/faraday/commit/77d7546d6d626b91086f427c56bc2cdd951353b3 module RackBuilder def adapter(*args) use(:ddtrace) unless @handlers.any? { |h| h.klass == Middleware } super end end end end end end
Version data entries
22 entries across 22 versions & 1 rubygems