Class: Kitsune::Kit::Workflows::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/kitsune/kit/workflows/base.rb

Instance Method Summary collapse

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