impress/app/models/outfit_image_update.rb

9 lines
125 B
Ruby
Raw Normal View History

2012-07-16 13:47:28 -07:00
class OutfitImageUpdate
@queue = :outfit_image_updates
def self.perform(id)
Outfit.find(id).write_image!
end
end