Class: Polivalente::CleanTrashJob
- Inherits:
-
ApplicationJob
- Object
- ActiveJob::Base
- ApplicationJob
- Polivalente::CleanTrashJob
- Defined in:
- app/jobs/polivalente/clean_trash_job.rb
Instance Method Summary collapse
-
#perform(trash) ⇒ Object
Delete the parent record and then remove the trash item.
Instance Method Details
#perform(trash) ⇒ Object
Delete the parent record and then remove the trash item
6 7 8 |
# File 'app/jobs/polivalente/clean_trash_job.rb', line 6 def perform(trash) trash.destroy end |