Module: WorkflowCore::Concerns::Models::Transition
- Extended by:
- ActiveSupport::Concern
- Included in:
- Transition
- Defined in:
- lib/workflow_core/concerns/models/transition.rb
Instance Method Summary collapse
Instance Method Details
#fire(token, transaction_options: { requires_new: true }, **options) ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/workflow_core/concerns/models/transition.rb', line 8 def fire(token, transaction_options: { requires_new: true }, **) transaction(**) do on_fire(token, , ) end rescue StandardError => e rescue_fire_error e end |