récupère les infos d'établissement avec infos non diffusables

This commit is contained in:
Christophe Robillard 2020-03-04 17:12:50 +01:00 committed by GitHub Action
parent c311a0c95e
commit 91abcd7792
8 changed files with 80 additions and 5 deletions

View file

@ -62,6 +62,7 @@ class ApiEntreprise::API
context: "demarches-simplifiees.fr",
recipient: siret_or_siren,
object: "procedure_id: #{procedure_id}",
non_diffusables: true,
token: token
}
end

View file

@ -24,7 +24,8 @@ class ApiEntreprise::EtablissementAdapter < ApiEntreprise::Adapter
:siret,
:siege_social,
:naf,
:libelle_naf
:libelle_naf,
:diffusable_commercialement
]
end