feat (api particulier): add Pole emploi field

This commit is contained in:
François Vantomme 2021-12-01 10:21:30 +01:00 committed by simon lehericey
parent 4cfc9f7d86
commit 6ab8ac0662
28 changed files with 429 additions and 58 deletions

View file

@ -730,6 +730,10 @@ class Procedure < ApplicationRecord
api_particulier_sources['dgfip'].present?
end
def pole_emploi_enabled?
api_particulier_sources['pole_emploi'].present?
end
private
def validate_for_publication?