| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 1 |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 35 | 5 | public function __construct(Config $config) |
|
| 36 | { |
||
| 37 | 5 | $this->client = new Client( |
|
| 38 | [ |
||
| 39 | 5 | 'base_uri' => $config->getBaseUrl() . '/' . $config->getVersion() . '/' . $config->getBaseId() . '/', |
|
| 40 | 5 | 'handler' => $this->getBearerTokenStack($config->getApiKey()) |
|
| 41 | ] |
||
| 42 | ); |
||
| 43 | |||
| 44 | 5 | $this->config = $config; |
|
| 45 | 5 | } |
|
| 71 |