demarches-normaliennes/config/initializers/urls.rb
2018-03-27 14:52:39 +02:00

8 lines
280 B
Ruby

if Rails.env.production?
API_ENTREPRISE_URL = 'https://entreprise.api.gouv.fr/v2'
else
API_ENTREPRISE_URL = 'https://staging.entreprise.api.gouv.fr/v2'
end
PIPEDRIVE_API_URL = 'https://api.pipedrive.com/v1/'
PIPEDRIVE_PEOPLE_URL = URI.join(PIPEDRIVE_API_URL, 'persons').to_s