Sha256: 9dd24b66c6323b798113254d55d2ac411f2de48f8c484bd5e9a465d62fe68884
Contents?: true
Size: 868 Bytes
Versions: 5
Compression:
Stored size: 868 Bytes
Contents
# typed: false 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 MINIMUM_VERSION = Gem::Version.new('1.8') register_as :rest_client def self.version Gem.loaded_specs['rest-client'] && Gem.loaded_specs['rest-client'].version end def self.loaded? !defined?(::RestClient::Request).nil? end def self.compatible? super && version >= MINIMUM_VERSION end def default_configuration Configuration::Settings.new end def patcher Patcher end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems