Class: DelayedImageProcessor
- Inherits:
-
Struct
- Object
- Struct
- DelayedImageProcessor
- Defined in:
- app/models/delayed_image_processor.rb
Instance Attribute Summary collapse
-
#attached_file ⇒ Object
Returns the value of attribute attached_file.
Instance Method Summary collapse
Instance Attribute Details
#attached_file ⇒ Object
Returns the value of attribute attached_file
1 2 3 |
# File 'app/models/delayed_image_processor.rb', line 1 def attached_file @attached_file end |
Instance Method Details
#perform ⇒ Object
2 3 4 5 |
# File 'app/models/delayed_image_processor.rb', line 2 def perform attached_file.build_base_images recalculate_storage_counters! end |