12 lines
205 B
Ruby
12 lines
205 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
class CreateNoteDiffFileWorker
|
||
|
include ApplicationWorker
|
||
|
|
||
|
def perform(diff_note_id)
|
||
|
diff_note = DiffNote.find(diff_note_id)
|
||
|
|
||
|
diff_note.create_diff_file
|
||
|
end
|
||
|
end
|