Use the new merge with multiple arguments
This commit is contained in:
parent
6ae5ffb2c6
commit
27460b55a3
1 changed files with 5 additions and 4 deletions
|
@ -7,10 +7,11 @@ class ApiEntrepriseService
|
|||
association_params = ApiEntreprise::RNAAdapter.new(siret, procedure_id).to_params
|
||||
exercices_params = ApiEntreprise::ExercicesAdapter.new(siret, procedure_id).to_params
|
||||
|
||||
etablissement_params
|
||||
.merge(entreprise_params)
|
||||
.merge(association_params)
|
||||
.merge(exercices_params)
|
||||
etablissement_params.merge(
|
||||
entreprise_params,
|
||||
association_params,
|
||||
exercices_params
|
||||
)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue