Class: GdprAdmin::DataRetentionPoliciesRunnerJob

Inherits:
ApplicationJob
  • Object
show all
Defined in:
app/jobs/gdpr_admin/data_retention_policies_runner_job.rb

Instance Method Summary collapse

Instance Method Details

#performObject



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