Module: Pageflow::ImageAndTextTrackProcessingStateMachine
- Extended by:
- ActiveSupport::Concern
- Included in:
- ImageFile, TextTrackFile
- Defined in:
- app/state_machines/pageflow/image_and_text_track_processing_state_machine.rb
Instance Method Summary collapse
- #failed? ⇒ Boolean
- #ready? ⇒ Boolean
-
#retry! ⇒ Object
UploadableFile-overrides.
- #retryable? ⇒ Boolean
Instance Method Details
#failed? ⇒ Boolean
39 40 41 |
# File 'app/state_machines/pageflow/image_and_text_track_processing_state_machine.rb', line 39 def failed? super || processing_failed? end |
#ready? ⇒ Boolean
35 36 37 |
# File 'app/state_machines/pageflow/image_and_text_track_processing_state_machine.rb', line 35 def ready? processed? end |
#retry! ⇒ Object
UploadableFile-overrides
27 28 29 |
# File 'app/state_machines/pageflow/image_and_text_track_processing_state_machine.rb', line 27 def retry! process! end |
#retryable? ⇒ Boolean
31 32 33 |
# File 'app/state_machines/pageflow/image_and_text_track_processing_state_machine.rb', line 31 def retryable? processing_failed? end |