Simplify ApiEntrepriseService even further
This commit is contained in:
parent
c38705a890
commit
3eab48c699
1 changed files with 1 additions and 3 deletions
|
@ -7,12 +7,10 @@ class ApiEntrepriseService
|
|||
association_params = ApiEntreprise::RNAAdapter.new(siret, procedure_id).to_params
|
||||
exercices_params = ApiEntreprise::ExercicesAdapter.new(siret, procedure_id).to_params
|
||||
|
||||
params = etablissement_params
|
||||
etablissement_params
|
||||
.merge(entreprise_params)
|
||||
.merge(association_params)
|
||||
.merge(exercices_params)
|
||||
|
||||
params
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue