Sha256: 4c08386275059c6358ed8c113bba4e6c64825722c7a041a31f97385ba808062e

Contents?: true

Size: 615 Bytes

Versions: 11

Compression:

Stored size: 615 Bytes

Contents

require 'ddtrace/contrib/integration'
require 'ddtrace/contrib/rest_client/configuration/settings'
require 'ddtrace/contrib/rest_client/patcher'

module Datadog
  module Contrib
    module RestClient
      # Description of RestClient integration
      class Integration
        include Contrib::Integration
        register_as :rest_client

        def self.compatible?
          RUBY_VERSION >= '1.9.3' && defined?(::RestClient::Request)
        end

        def default_configuration
          Configuration::Settings.new
        end

        def patcher
          Patcher
        end
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
ddtrace-0.16.1 lib/ddtrace/contrib/rest_client/integration.rb
ddtrace-0.15.0.internaltracinfeature1 lib/ddtrace/contrib/rest_client/integration.rb
ddtrace-0.16.0 lib/ddtrace/contrib/rest_client/integration.rb
ddtrace-0.14.2.disableprotocolversion4 lib/ddtrace/contrib/rest_client/integration.rb
ddtrace-0.15.0 lib/ddtrace/contrib/rest_client/integration.rb
ddtrace-0.14.2.withoutpriorityparsing1 lib/ddtrace/contrib/rest_client/integration.rb
ddtrace-0.14.2 lib/ddtrace/contrib/rest_client/integration.rb
ddtrace-0.14.1 lib/ddtrace/contrib/rest_client/integration.rb
ddtrace-0.15.0.beta1 lib/ddtrace/contrib/rest_client/integration.rb
ddtrace-0.14.0 lib/ddtrace/contrib/rest_client/integration.rb
ddtrace-0.14.0.rc1 lib/ddtrace/contrib/rest_client/integration.rb