Réparation de l'API Entreprise, en revenant à la version 2
api_entreprise: revert to API v2
This commit is contained in:
commit
81fba4f792
1 changed files with 1 additions and 3 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue