Move constants to urls.rb

This commit is contained in:
gregoirenovel 2018-05-22 17:35:11 +02:00
parent f8f1394e43
commit 0b35bfffa5
2 changed files with 7 additions and 6 deletions

View file

@ -1,6 +0,0 @@
DOC_URL = "https://doc.demarches-simplifiees.fr"
LISTE_DES_DEMARCHES_URL = [DOC_URL, "listes-des-demarches"].join("/")
CGU_URL = [DOC_URL, "cgu"].join("/")
MENTIONS_LEGALES_URL = [CGU_URL, "4-mentions-legales"].join("#")
FAQ_URL = "https://faq.demarches-simplifiees.fr"

View file

@ -1,3 +1,10 @@
API_ENTREPRISE_URL = 'https://entreprise.api.gouv.fr/v2'
PIPEDRIVE_API_URL = 'https://api.pipedrive.com/v1'
DOC_URL = "https://doc.demarches-simplifiees.fr"
LISTE_DES_DEMARCHES_URL = [DOC_URL, "listes-des-demarches"].join("/")
CGU_URL = [DOC_URL, "cgu"].join("/")
MENTIONS_LEGALES_URL = [CGU_URL, "4-mentions-legales"].join("#")
FAQ_URL = "https://faq.demarches-simplifiees.fr"