Method: Temporal::Workflow::Command.generate

Defined in:
lib/temporal/workflow/command.rb

.generate(type, **args) ⇒ Object



36
37
38
39
# File 'lib/temporal/workflow/command.rb', line 36

def self.generate(type, **args)
  command_class = COMMAND_CLASS_MAP[type]
  command_class.new(**args)
end