Module: Datadog::CI::Contrib::Integration
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Class Method Summary
collapse
Class Method Details
.included(base) ⇒ Object
11
12
13
14
|
# File 'lib/datadog/ci/contrib/integration.rb', line 11
def self.included(base)
base.extend(ClassMethods)
base.include(InstanceMethods)
end
|
.register(klass, name) ⇒ Object
16
17
18
|
# File 'lib/datadog/ci/contrib/integration.rb', line 16
def self.register(klass, name)
registry[name] = klass.new
end
|
.registry ⇒ Object
20
21
22
|
# File 'lib/datadog/ci/contrib/integration.rb', line 20
def self.registry
@registry
end
|