Class: Effective::AssetReplacerJob

Inherits:
ApplicationJob
  • Object
show all
Defined in:
app/jobs/effective/asset_replacer_job.rb

Instance Method Summary collapse

Instance Method Details

#perform(attachment, box) ⇒ Object



12
13
14
# File 'app/jobs/effective/asset_replacer_job.rb', line 12

def perform(attachment, box)
  Effective::AssetReplacer.new.replace_attachment!(attachment, box)
end