Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 4 |
CRAP Score | 1 |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
39 | public function __construct(string $apiKey, string $baseId) |
||
40 | 2 | { |
|
41 | 2 | $this->client = new Client( |
|
42 | [ |
||
43 | 'base_uri' => getenv('BASE_URL') . '/' . getenv('VERSION') . '/' . $baseId . '/', |
||
44 | 'handler' => $this->getBearerTokenStack($apiKey) |
||
45 | ] |
||
46 | 2 | ); |
|
47 | |||
48 | 2 | $this->baseId = $baseId; |
|
49 | } |
||
75 |