parent
b92f55fcfb
commit
e90b1cdcc0
1 changed files with 3 additions and 1 deletions
|
@ -40,7 +40,9 @@ class ApiEntreprise::API
|
||||||
end
|
end
|
||||||
|
|
||||||
def self.url(resource_name, siret_or_siren)
|
def self.url(resource_name, siret_or_siren)
|
||||||
[API_ENTREPRISE_URL, resource_name, siret_or_siren].join("/")
|
base_url = [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