Module: Datadog::AppSec::Contrib::Integration

Included in:
Devise::Integration, GraphQL::Integration, Rack::Integration, Rails::Integration, Sinatra::Integration
Defined in:
lib/datadog/appsec/contrib/integration.rb

Overview

Base provides features that are shared across all integrations

Defined Under Namespace

Modules: ClassMethods Classes: RegisteredIntegration

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



12
13
14
# File 'lib/datadog/appsec/contrib/integration.rb', line 12

def self.included(base)
  base.extend(ClassMethods)
end

.register(integration, name, options) ⇒ Object



27
28
29
# File 'lib/datadog/appsec/contrib/integration.rb', line 27

def self.register(integration, name, options)
  registry[name] = RegisteredIntegration.new(name, integration, options)
end

.registryObject



31
32
33
# File 'lib/datadog/appsec/contrib/integration.rb', line 31

def self.registry
  @registry
end