You are here

public function SendinblueApiV2::__construct in SendinBlue 7.2

File

includes/Api/SendinblueApiV2.php, line 24

Class

SendinblueApiV2
Sendinblue REST client.

Code

public function __construct() {
  $this->sIBHttpClient = new SendinblueHttpClient();
  $this->sIBHttpClient
    ->setApiKey($this->apiKey);
  $this->sIBHttpClient
    ->setBaseUrl(self::API_URL);
}