Class: Kithe::AssetDeleteJob
Instance Method Summary collapse
Instance Method Details
#perform(attacher_class, data) ⇒ Object
3 4 5 6 7 8 |
# File 'app/jobs/kithe/asset_delete_job.rb', line 3 def perform(attacher_class, data) attacher_class = Object.const_get(attacher_class) attacher = attacher_class.from_data(data) attacher.destroy end |