Class: PaperclipAttributes::Commands::AddPhotoDimensions

Inherits:
Object
  • Object
show all
Includes:
PaperclipAttributes::Command
Defined in:
lib/paperclip_attributes/commands/add_photo_dimensions.rb

Instance Method Summary collapse

Instance Method Details

#performObject



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