Module: Pageflow::UploadableFile::ClassMethods
- Defined in:
- app/models/concerns/pageflow/uploadable_file.rb
Instance Method Summary collapse
Instance Method Details
#processing_state_machine(&block) ⇒ Object
113 114 115 116 117 118 119 120 121 |
# File 'app/models/concerns/pageflow/uploadable_file.rb', line 113 def processing_state_machine(&block) state_machine do extend StateMachineJob::Macro after_transition(any => 'uploaded', &:process!) instance_eval(&block) end end |