remove unused job
This commit is contained in:
parent
6e95d1c710
commit
21d5da379f
1 changed files with 0 additions and 16 deletions
|
@ -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
|
Loading…
Reference in a new issue