Class: PaperclipAttributes::Commands::AddPhotoDimensions
- Inherits:
-
Object
- Object
- PaperclipAttributes::Commands::AddPhotoDimensions
- Includes:
- PaperclipAttributes::Command
- Defined in:
- lib/paperclip_attributes/commands/add_photo_dimensions.rb
Instance Method Summary collapse
Instance Method Details
#perform ⇒ Object
6 7 8 9 |
# File 'lib/paperclip_attributes/commands/add_photo_dimensions.rb', line 6 def perform dimensions = extract_dimensions add_dimensions_to_model(dimensions) end |