Module: Specular::Integration

Defined in:
lib/specular/integration.rb

Defined Under Namespace

Classes: Base, GitHub, Slack

Constant Summary collapse

INTEGRATIONS =
{ }

Class Method Summary collapse

Class Method Details

.for(name, context) ⇒ Object



4
5
6
7
8
9
10
# File 'lib/specular/integration.rb', line 4

def self.for(name, context)
  integration = INTEGRATIONS[name]

  integration.new(
    **integration.extract_args(context)
  )
end