Module: Pageflow::ImageAndTextTrackProcessingStateMachine Private

Extended by:
ActiveSupport::Concern
Included in:
ImageFile, TextTrackFile
Defined in:
app/state_machines/pageflow/image_and_text_track_processing_state_machine.rb

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Instance Method Summary collapse

Instance Method Details

#failed?Boolean

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (Boolean)


40
41
42
# File 'app/state_machines/pageflow/image_and_text_track_processing_state_machine.rb', line 40

def failed?
  super || processing_failed?
end

#ready?Boolean

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (Boolean)


36
37
38
# File 'app/state_machines/pageflow/image_and_text_track_processing_state_machine.rb', line 36

def ready?
  processed?
end

#retry!Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

UploadableFile-overrides



28
29
30
# File 'app/state_machines/pageflow/image_and_text_track_processing_state_machine.rb', line 28

def retry!
  process!
end

#retryable?Boolean

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (Boolean)


32
33
34
# File 'app/state_machines/pageflow/image_and_text_track_processing_state_machine.rb', line 32

def retryable?
  processing_failed?
end