class Datadog::Contrib::SuckerPunch::Integration

Description of SuckerPunch integration

Constants

MINIMUM_VERSION

Public Class Methods

compatible?() click to toggle source
Calls superclass method
# File lib/ddtrace/contrib/sucker_punch/integration.rb, line 24
def self.compatible?
  super && version >= MINIMUM_VERSION
end
loaded?() click to toggle source
# File lib/ddtrace/contrib/sucker_punch/integration.rb, line 20
def self.loaded?
  !defined?(::SuckerPunch).nil?
end
version() click to toggle source
# File lib/ddtrace/contrib/sucker_punch/integration.rb, line 16
def self.version
  Gem.loaded_specs['sucker_punch'] && Gem.loaded_specs['sucker_punch'].version
end

Public Instance Methods

default_configuration() click to toggle source
# File lib/ddtrace/contrib/sucker_punch/integration.rb, line 28
def default_configuration
  Configuration::Settings.new
end
patcher() click to toggle source
# File lib/ddtrace/contrib/sucker_punch/integration.rb, line 32
def patcher
  Patcher
end