Class: Datadog::Contrib::Shoryuken::Integration
- Inherits:
-
Object
- Object
- Datadog::Contrib::Shoryuken::Integration
- 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
Class Method Details
.present? ⇒ Boolean
20 21 22 |
# File 'lib/ddtrace/contrib/shoryuken/integration.rb', line 20 def present? super && defined?(::Shoryuken) end |
.version ⇒ Object
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_configuration ⇒ Object
25 26 27 |
# File 'lib/ddtrace/contrib/shoryuken/integration.rb', line 25 def default_configuration Configuration::Settings.new end |
#patcher ⇒ Object
29 30 31 |
# File 'lib/ddtrace/contrib/shoryuken/integration.rb', line 29 def patcher Patcher end |