Class: Datadog::Contrib::RestClient::Integration
- Inherits:
-
Object
- Object
- Datadog::Contrib::RestClient::Integration
- Includes:
- Integration
- Defined in:
- lib/ddtrace/contrib/rest_client/integration.rb
Overview
Description of RestClient integration
Class Method Summary collapse
Instance Method Summary collapse
Methods included from Integration
Class Method Details
.present? ⇒ Boolean
17 18 19 |
# File 'lib/ddtrace/contrib/rest_client/integration.rb', line 17 def self.present? super && defined?(::RestClient::Request) end |
.version ⇒ Object
13 14 15 |
# File 'lib/ddtrace/contrib/rest_client/integration.rb', line 13 def self.version Gem.loaded_specs['rest-client'] && Gem.loaded_specs['rest-client'].version end |
Instance Method Details
#default_configuration ⇒ Object
21 22 23 |
# File 'lib/ddtrace/contrib/rest_client/integration.rb', line 21 def default_configuration Configuration::Settings.new end |
#patcher ⇒ Object
25 26 27 |
# File 'lib/ddtrace/contrib/rest_client/integration.rb', line 25 def patcher Patcher end |