commit
8d11c50115
4 changed files with 8 additions and 7 deletions
|
@ -3,7 +3,7 @@ version: 2
|
||||||
defaults: &defaults
|
defaults: &defaults
|
||||||
working_directory: ~/tps
|
working_directory: ~/tps
|
||||||
docker:
|
docker:
|
||||||
- image: circleci/ruby:2.5.0-node-browsers
|
- image: circleci/ruby:2.6.1-node-browsers
|
||||||
- image: circleci/postgres:9.5
|
- image: circleci/postgres:9.5
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_USER: tps_test
|
POSTGRES_USER: tps_test
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
2.5.0
|
2.6.1
|
||||||
|
|
|
@ -740,4 +740,4 @@ DEPENDENCIES
|
||||||
zxcvbn-ruby
|
zxcvbn-ruby
|
||||||
|
|
||||||
BUNDLED WITH
|
BUNDLED WITH
|
||||||
1.17.1
|
1.17.2
|
||||||
|
|
|
@ -7,10 +7,11 @@ class ApiEntrepriseService
|
||||||
association_params = ApiEntreprise::RNAAdapter.new(siret, procedure_id).to_params
|
association_params = ApiEntreprise::RNAAdapter.new(siret, procedure_id).to_params
|
||||||
exercices_params = ApiEntreprise::ExercicesAdapter.new(siret, procedure_id).to_params
|
exercices_params = ApiEntreprise::ExercicesAdapter.new(siret, procedure_id).to_params
|
||||||
|
|
||||||
etablissement_params
|
etablissement_params.merge(
|
||||||
.merge(entreprise_params)
|
entreprise_params,
|
||||||
.merge(association_params)
|
association_params,
|
||||||
.merge(exercices_params)
|
exercices_params
|
||||||
|
)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue