You are here

public function SendinblueApiV3::getAttributes in SendinBlue 8

Same name and namespace in other branches
  1. 8.2 src/Tools/Api/SendinblueApiV3.php \Drupal\sendinblue\Tools\Api\SendinblueApiV3::getAttributes()

Get attribute by type.

Return value

\Drupal\sendinblue\Tools\Model\GetAttributes An array of attributes.

Overrides SendInBlueApiInterface::getAttributes

File

src/Tools/Api/SendinblueApiV3.php, line 334

Class

SendinblueApiV3
Sendinblue REST client.

Namespace

Drupal\sendinblue\Tools\Api

Code

public function getAttributes() {
  return new GetAttributes(Json::decode($this->sibAttributesApi
    ->getAttributes()));
}