remove unused job

This commit is contained in:
Paul Chavard 2021-03-11 12:25:47 +01:00
parent 6e95d1c710
commit 21d5da379f

View file

@ -1,16 +0,0 @@
class AnnuaireEducationUpdateJob < ApplicationJob
def perform(champ)
external_id = champ.external_id
if external_id.present?
data = APIEducation::AnnuaireEducationAdapter.new(external_id).to_params
if data.present?
champ.data = data
else
champ.external_id = nil
end
champ.save!
end
end
end