commit
c5f045c8e1
4 changed files with 8 additions and 7 deletions
|
@ -3,7 +3,7 @@ version: 2
|
|||
defaults: &defaults
|
||||
working_directory: ~/tps
|
||||
docker:
|
||||
- image: circleci/ruby:2.5.0-node-browsers
|
||||
- image: circleci/ruby:2.6.0-node-browsers
|
||||
- image: circleci/postgres:9.5
|
||||
environment:
|
||||
POSTGRES_USER: tps_test
|
||||
|
|
|
@ -1 +1 @@
|
|||
2.5.0
|
||||
2.6.0
|
||||
|
|
|
@ -740,4 +740,4 @@ DEPENDENCIES
|
|||
zxcvbn-ruby
|
||||
|
||||
BUNDLED WITH
|
||||
1.17.1
|
||||
1.17.2
|
||||
|
|
|
@ -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