Class: AuditApplyJob

Inherits:
ActiveJob::Base
  • Object
show all
Defined in:
app/jobs/audit_apply_job.rb

Instance Method Summary collapse

Instance Method Details

#perform(synchro_type, operation: ['update', 'insert', 'delete']) ⇒ Object



4
5
6
7
# File 'app/jobs/audit_apply_job.rb', line 4

def perform(synchro_type, operation: ['update', 'insert', 'delete'])
  SyncAudit.apply_synchro(synchro_type, operation: operation)
  SyncAudit.apply_callback(synchro_type, operation: operation)
end