| @@ 19-25 (lines=7) @@ | ||
| 16 | private $client; |
|
| 17 | private $options; |
|
| 18 | ||
| 19 | public function __construct(ClientInterface $client, $api_key) |
|
| 20 | { |
|
| 21 | $this->client = $client; |
|
| 22 | $this->options = [ |
|
| 23 | 'headers' => ['Authorization' => 'Bearer ' . $api_key] |
|
| 24 | ]; |
|
| 25 | } |
|
| 26 | ||
| 27 | /** |
|
| 28 | * {@inheritdoc} |
|
| @@ 27-36 (lines=10) @@ | ||
| 24 | private $attachments; |
|
| 25 | private $numberOfRecipients; |
|
| 26 | ||
| 27 | public function __construct(ClientInterface $client, $api_key) |
|
| 28 | { |
|
| 29 | $this->client = $client; |
|
| 30 | $this->options = [ |
|
| 31 | 'headers' => [ |
|
| 32 | 'Authorization' => 'Bearer ' . $api_key, |
|
| 33 | 'Content-Type' => 'application/json', |
|
| 34 | ], |
|
| 35 | ]; |
|
| 36 | } |
|
| 37 | ||
| 38 | /** |
|
| 39 | * {@inheritdoc} |
|