original_string: protected function setUrl($params)
      {
          curl_setopt($this->client->ch, CURLOPT_URL, Constants::API_URL . trim($params, '/'));
      }
code: protected function setUrl($params)
      {
          curl_setopt($this->client->ch, CURLOPT_URL, Constants::API_URL . trim($params, '/'));
      }
code_tokens: protected function setUrl ( $ params ) { curl_setopt ( $ this -> client -> ch , CURLOPT_URL , Constants :: API_URL . trim ( $ params , '/' ) ) ; }
docstring: setUrl function.
  
  Takes an API request string and appends it to the API url
  
  @access protected
  @return void
docstring_tokens: setUrl function .