protected function setUri($uriToSet)
    {
        $uri_parts = [];

        array_push($uri_parts, 'api');
        array_push($uri_parts, config('ckan_api.api_version'));
        array_push($uri_parts, trim($uriToSet, '/'));

        $uri_parts = array_filter($uri_parts);

        $this->uri = implode('/', $uri_parts);
    }