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