protected function setUrl($params)
    {
        curl_setopt($this->client->ch, CURLOPT_URL, Constants::API_URL . trim($params, '/'));
    }
protected function setUrl($params)
    {
        curl_setopt($this->client->ch, CURLOPT_URL, Constants::API_URL . trim($params, '/'));
    }
protected function setUrl ( $ params ) { curl_setopt ( $ this -> client -> ch , CURLOPT_URL , Constants :: API_URL . trim ( $ params , '/' ) ) ; }
setUrl function.

Takes an API request string and appends it to the API url

@access protected
@return void
setUrl function .