Module: Operation::Status
- Extended by:
- ActiveSupport::Concern
- Included in:
- OperationBase
- Defined in:
- lib/flow/operation/status.rb
Instance Method Summary collapse
Instance Method Details
#executed? ⇒ Boolean
16 17 18 |
# File 'lib/flow/operation/status.rb', line 16 def executed? was_executed.present? end |
#failed? ⇒ Boolean
20 21 22 |
# File 'lib/flow/operation/status.rb', line 20 def failed? operation_failure.present? end |
#success? ⇒ Boolean
24 25 26 |
# File 'lib/flow/operation/status.rb', line 24 def success? executed? && !failed? end |