/** * Construct our class */ function __construct() { $this->region = Config::get('laravel-rackspace-cdn::region'); $this->urlType = Config::get('laravel-rackspace-cdn::urlType'); $authUrl = $this->region == 'LON' ? 'https://lon.identity.api.rackspacecloud.com/v2.0/' : 'https://identity.api.rackspacecloud.com/v2.0/'; parent::__construct($authUrl, array('username' => Config::get('laravel-rackspace-cdn::username'), 'apiKey' => Config::get('laravel-rackspace-cdn::apiKey'))); }