Class: Datadog::Contrib::Shoryuken::Integration

Inherits:
Object
  • Object
show all
Includes:
Integration
Defined in:
lib/ddtrace/contrib/shoryuken/integration.rb

Overview

Description of Shoryuken integration

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Integration

included

Class Method Details

.present?Boolean

Returns:

  • (Boolean)


20
21
22
# File 'lib/ddtrace/contrib/shoryuken/integration.rb', line 20

def present?
  super && defined?(::Shoryuken)
end

.versionObject



16
17
18
# File 'lib/ddtrace/contrib/shoryuken/integration.rb', line 16

def version
  Gem.loaded_specs['shoryuken'] && Gem.loaded_specs['shoryuken'].version
end

Instance Method Details

#default_configurationObject



25
26
27
# File 'lib/ddtrace/contrib/shoryuken/integration.rb', line 25

def default_configuration
  Configuration::Settings.new
end

#patcherObject



29
30
31
# File 'lib/ddtrace/contrib/shoryuken/integration.rb', line 29

def patcher
  Patcher
end