Class: NexClient::BaseResource

Inherits:
JsonApiClient::Resource
  • Object
show all
Defined in:
lib/nex_client/base_resource.rb

Constant Summary collapse

API_HOST =
{
  'development' => 'http://localhost:5000',
  'test' => 'http://nex-test.com',
  'uat' => 'https://api-nex-uat.maestrano.io',
  'production' => 'https://api-nex.maestrano.com',
}
API_ROOT_PATH =
'/api/v1'
ENVIRONMENT =

should be eventually be changed to production

ENV['NEX_ENV'] || 'uat'