You are here

public function SendinblueMailin::getAttribute in SendinBlue 7

Same name and namespace in other branches
  1. 7.2 includes/sendinblue.mailin.php \SendinblueMailin::getAttribute()

Get attribute by type.

Parameters

string $type: A type.

Return value

array An array of attributes.

File

includes/sendinblue.mailin.php, line 321
Rest class file.

Class

SendinblueMailin
Sendinblue REST client.

Code

public function getAttribute($type) {
  return $this
    ->get("attribute/" . $type, "");
}