Module: Smith::Workflow::SplitStepPersistence::StateSnapshot
- Included in:
- Smith::Workflow::SplitStepPersistence
- Defined in:
- lib/smith/workflow/split_step_persistence/state_snapshot.rb
Instance Method Summary collapse
Instance Method Details
#ledger ⇒ Object
20 21 22 23 24 25 |
# File 'lib/smith/workflow/split_step_persistence/state_snapshot.rb', line 20 def ledger return super unless split_step_boundary_active? return unless @ledger snapshot_split_step_ledger end |
#session_messages ⇒ Object
14 15 16 17 18 |
# File 'lib/smith/workflow/split_step_persistence/state_snapshot.rb', line 14 def return super unless split_step_boundary_active? end |
#to_state ⇒ Object
7 8 9 10 11 12 |
# File 'lib/smith/workflow/split_step_persistence/state_snapshot.rb', line 7 def to_state state = super return state unless split_step_boundary_active? snapshot_value(state) end |