Class: Datadog::Contrib::Ethon::Integration
- Inherits:
-
Object
- Object
- Datadog::Contrib::Ethon::Integration
- Includes:
- Integration
- Defined in:
- lib/ddtrace/contrib/ethon/integration.rb
Overview
Description of Ethon 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/ethon/integration.rb', line 17 def self.present? super && defined?(::Ethon::Easy) end |
.version ⇒ Object
13 14 15 |
# File 'lib/ddtrace/contrib/ethon/integration.rb', line 13 def self.version Gem.loaded_specs['ethon'] && Gem.loaded_specs['ethon'].version end |
Instance Method Details
#default_configuration ⇒ Object
21 22 23 |
# File 'lib/ddtrace/contrib/ethon/integration.rb', line 21 def default_configuration Configuration::Settings.new end |
#patcher ⇒ Object
25 26 27 |
# File 'lib/ddtrace/contrib/ethon/integration.rb', line 25 def patcher Patcher end |