Module: Pageflow::ImageFileStateMachine

Extended by:
ActiveSupport::Concern
Included in:
ImageFile
Defined in:
app/state_machines/pageflow/image_file_state_machine.rb

Instance Method Summary collapse

Instance Method Details

#publish!Object


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

def publish!
  process!
end

#retry!Object


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

def retry!
  process!
end

#retryable?Boolean

Returns:

  • (Boolean)

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

def retryable?
  processing_failed?
end