trabajo-afectivo/app/jobs/data_privacy_task_job.rb

8 lines
162 B
Ruby
Raw Normal View History

class DataPrivacyTaskJob < ApplicationJob
include HasActiveJobLock
def perform
DataPrivacyTask.where(state: 'in process').find_each(&:perform)
end
end