| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 9 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 42 | 3 | private function initializeHttpClient() |
|
| 43 | { |
||
| 44 | 3 | $httpClient = new \GuzzleHttp\Client([ |
|
| 45 | 3 | 'base_uri' => sprintf( |
|
| 46 | 3 | self::API_URL, |
|
| 47 | 3 | $this->config->getKey(), |
|
| 48 | 3 | $this->config->getSecret(), |
|
| 49 | 3 | $this->config->getDomain() |
|
| 50 | ), |
||
| 51 | ]); |
||
| 52 | |||
| 53 | 3 | $this->resources = new ResourceCollection($httpClient, $this->config->getResources()); |
|
| 54 | 1 | } |
|
| 55 | |||
| 74 |