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