Class: Synapse::Command::RollbackOnAnyExceptionPolicy
- Inherits:
-
RollbackPolicy
- Object
- RollbackPolicy
- Synapse::Command::RollbackOnAnyExceptionPolicy
- Defined in:
- lib/synapse/command/rollback_policy.rb
Overview
Implementation of a rollback policy that performs a rollback on any exception
Instance Method Summary collapse
Instance Method Details
#should_rollback(exception) ⇒ Boolean
19 20 21 |
# File 'lib/synapse/command/rollback_policy.rb', line 19 def should_rollback(exception) true end |