Module: Identisure::Environment
- Defined in:
- lib/identisure/environment.rb
Constant Summary collapse
- PRODUCTION =
:production- STAGING =
:staging- BASE_URLS =
{ PRODUCTION => 'https://api.idkollen.se', STAGING => 'https://stgapi.idkollen.se', }.freeze
Class Method Summary collapse
Class Method Details
.base_url(env) ⇒ Object
13 14 15 |
# File 'lib/identisure/environment.rb', line 13 def self.base_url(env) BASE_URLS.fetch(env) end |