src/Mailjet/Client.php
private function getApiUrl()
    {
        $h = $this->secure === true ? 'https' : 'http';
        return sprintf('%s://%s/%s/', $h, $this->url, $this->version);
    }
private function getApiUrl()
    {
        $h = $this->secure === true ? 'https' : 'http';
        return sprintf('%s://%s/%s/', $h, $this->url, $this->version);
    }
private function getApiUrl ( ) { $ h = $ this -> secure === true ? 'https' : 'http' ; return sprintf ( '%s://%s/%s/' , $ h , $ this -> url , $ this -> version ) ; }
Build the base API url depending on wether user need a secure connection
or not
@return string the API url;
Build the base API url depending on wether user need a secure connection or not