Class: GdprAdmin::DataRetentionPoliciesRunnerJob
- Inherits:
-
ApplicationJob
- Object
- ActiveJob::Base
- ApplicationJob
- GdprAdmin::DataRetentionPoliciesRunnerJob
- Defined in:
- app/jobs/gdpr_admin/data_retention_policies_runner_job.rb
Instance Method Summary collapse
Instance Method Details
#perform ⇒ Object
7 8 9 |
# File 'app/jobs/gdpr_admin/data_retention_policies_runner_job.rb', line 7 def perform GdprAdmin::DataRetentionPolicy.active.find_each(&:process!) end |