impress/app/models/outfit_image_update.rb
2012-07-16 16:47:28 -04:00

8 lines
125 B
Ruby

class OutfitImageUpdate
@queue = :outfit_image_updates
def self.perform(id)
Outfit.find(id).write_image!
end
end