Class: Workarea::BulkAction::Deletion
- Inherits:
-
Workarea::BulkAction
- Object
- Workarea::BulkAction
- Workarea::BulkAction::Deletion
- Defined in:
- app/models/workarea/bulk_action/deletion.rb
Instance Method Summary collapse
Methods inherited from Workarea::BulkAction
#admin_query, #completed!, #completed?, #convert_query_to_ids, #perform!, #reset_to_default!
Methods included from ApplicationDocument
Methods included from Sidekiq::Callbacks
add_worker, assert_valid_config!, async, caching_classes?, disable, enable, inline, #run_callbacks, workers, workers_list
Methods included from Mongoid::Document
Instance Method Details
#act_on!(model) ⇒ Object
6 7 8 |
# File 'app/models/workarea/bulk_action/deletion.rb', line 6 def act_on!(model) model.destroy end |