Class: Kitsune::Kit::Workflows::Base
- Inherits:
-
Object
- Object
- Kitsune::Kit::Workflows::Base
- Defined in:
- lib/kitsune/kit/workflows/base.rb
Direct Known Subclasses
ApplyPlan, BuildPlan, DestroyServer, Doctor, ImportServer, InspectEnvironment, Rollback
Instance Method Summary collapse
-
#initialize(config:, event_bus: Events::NullBus.new, clock: Clock.new) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(config:, event_bus: Events::NullBus.new, clock: Clock.new) ⇒ Base
Returns a new instance of Base.
11 12 13 14 15 16 |
# File 'lib/kitsune/kit/workflows/base.rb', line 11 def initialize(config:, event_bus: Events::NullBus.new, clock: Clock.new) @config = config @event_bus = event_bus @clock = clock @run_id = SecureRandom.uuid end |