Sha256: a034f994fd4c74a6a65a049cb2a9176e839101f05ae375b4a93af8bf496cfc8a
Contents?: true
Size: 871 Bytes
Versions: 17
Compression:
Stored size: 871 Bytes
Contents
require 'ddtrace/contrib/integration' require 'ddtrace/contrib/action_cable/configuration/settings' require 'ddtrace/contrib/action_cable/patcher' module Datadog module Contrib module ActionCable # Description of ActionCable integration class Integration include Contrib::Integration MINIMUM_VERSION = Gem::Version.new('5.0.0') register_as :action_cable, auto_patch: false def self.version Gem.loaded_specs['actioncable'] && Gem.loaded_specs['actioncable'].version end def self.loaded? !defined?(::ActionCable).nil? end def self.compatible? super && version >= MINIMUM_VERSION end def default_configuration Configuration::Settings.new end def patcher Patcher end end end end end
Version data entries
17 entries across 17 versions & 2 rubygems