Module: Trailblazer::Activity::PublicAPI

Includes:
Accessor, DSL::AddTask, DSLHelper, Inspect, Interface, Magnetic::Merge
Defined in:
lib/trailblazer/activity.rb

Overview

FIXME: still to be decided By including those modules, we create instance methods. Later, this module is ‘extended` in Path, Railway and FastTrack, and imports the DSL methods as class methods.

Instance Method Summary collapse

Methods included from Magnetic::Merge

#merge!

Methods included from Inspect

#inspect

Methods included from DSLHelper

#Path

Methods included from Interface

#debug, #outputs, #to_h

Methods included from DSL::AddTask

#add_task!

Methods included from Accessor

#[], #[]=

Instance Method Details

#call(args, circuit_options = {}) ⇒ Object



85
86
87
# File 'lib/trailblazer/activity.rb', line 85

def call(args, circuit_options={})
  self[:circuit].( args, circuit_options.merge(activity: self) )
end