lib/MailchimpApiConnector/MailchimpApi.php
private function getUrl($method)
    {
        return sprintf(
            $this::API_URL,
            $this->getDc(),
            $this->getApiVersion(),
            $method
        );
    }
private function getUrl($method)
    {
        return sprintf(
            $this::API_URL,
            $this->getDc(),
            $this->getApiVersion(),
            $method
        );
    }
private function getUrl ( $ method ) { return sprintf ( $ this :: API_URL , $ this -> getDc ( ) , $ this -> getApiVersion ( ) , $ method ) ; }
Gets the url for Mailchimp API version >= 2.0

@param string $method

@return string
Gets the url for Mailchimp API version > = 2 . 0