Class: SampleWorkflow
- Inherits:
-
ActiveSaga::Workflow
- Object
- ActiveSaga::Workflow
- SampleWorkflow
- Defined in:
- lib/generators/active_saga/install/templates/sample_workflow.rb
Instance Attribute Summary
Attributes inherited from ActiveSaga::Workflow
Instance Method Summary collapse
Methods inherited from ActiveSaga::Workflow
#before_start, build_step_payload, #call_step_callable, callable_identifier, #compute_idempotency_key, #ctx, #initialize, start
Methods included from ActiveSaga::DSL::Options
#defaults, extended, #idempotency_key, #resolve_defaults, #timeout
Methods included from ActiveSaga::DSL::Steps
extended, #inherited, #step, #step_definition, #steps, #task, #wait_for_signal
Methods included from ActiveSaga::DSL::Signals
extended, #inherited, #signal, #signal_handler_for
Constructor Details
This class inherits a constructor from ActiveSaga::Workflow
Instance Method Details
#prepare_data ⇒ Object
14 15 16 |
# File 'lib/generators/active_saga/install/templates/sample_workflow.rb', line 14 def prepare_data ctx[:prepared_at] = Time.now.utc end |