demarches-normaliennes/config/initializers/urls.rb

9 lines
280 B
Ruby
Raw Normal View History

if Rails.env.production?
2018-03-15 14:20:55 +01:00
API_ENTREPRISE_URL = 'https://entreprise.api.gouv.fr/v2'
else
2018-03-15 14:20:55 +01:00
API_ENTREPRISE_URL = 'https://staging.entreprise.api.gouv.fr/v2'
2017-04-04 15:27:04 +02:00
end
2018-03-23 17:21:51 +01:00
PIPEDRIVE_API_URL = 'https://api.pipedrive.com/v1/'
PIPEDRIVE_PEOPLE_URL = URI.join(PIPEDRIVE_API_URL, 'persons').to_s