src/Client.php
public function getUrlFromPath($path)
    {
        $path = ltrim($path, '/');

        $host = 'https://'.($this->use_sandbox ? 'sandbox-' : '').'api.uber.com';

        return $host.($this->version ? '/'.$this->version : '').'/'.$path;
    }
public function getUrlFromPath($path)
    {
        $path = ltrim($path, '/');

        $host = 'https://'.($this->use_sandbox ? 'sandbox-' : '').'api.uber.com';

        return $host.($this->version ? '/'.$this->version : '').'/'.$path;
    }
public function getUrlFromPath ( $ path ) { $ path = ltrim ( $ path , '/' ) ; $ host = 'https://' . ( $ this -> use_sandbox ? 'sandbox-' : '' ) . 'api.uber.com' ; return $ host . ( $ this -> version ? '/' . $ this -> version : '' ) . '/' . $ path ; }
Builds url from path.

@param    string   $path

@return   string   Url
Builds url from path .