Merge pull request #3731 from betagouv/dev

2019-04-03-01
This commit is contained in:
Pierre de La Morinerie 2019-04-03 12:26:57 +02:00 committed by GitHub
commit 57e9755c1e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -40,9 +40,7 @@ class ApiEntreprise::API
end end
def self.url(resource_name, siret_or_siren) def self.url(resource_name, siret_or_siren)
base_url = [API_ENTREPRISE_URL, resource_name, siret_or_siren].join("/") [API_ENTREPRISE_URL, resource_name, siret_or_siren].join("/")
"#{base_url}?with_insee_v3=true"
end end
def self.params(siret_or_siren, procedure_id) def self.params(siret_or_siren, procedure_id)