| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 19 | public function __construct($apiKey, $version = self::API_VERSION_STABLE) |
||
| 20 | { |
||
| 21 | parent::__construct( |
||
| 22 | [ |
||
| 23 | 'base_uri' => 'https://api.kontakt.io', |
||
| 24 | 'headers' => [ |
||
| 25 | 'Accept' => 'application/vnd.com.kontakt+json;version=' . $version, |
||
| 26 | 'Api-Key' => $apiKey, |
||
| 27 | 'User-Agent' => 'Speicher210/KontaktIO ' . default_user_agent() |
||
| 28 | ] |
||
| 29 | ] |
||
| 30 | ); |
||
| 31 | } |
||
| 32 | } |
||
| 33 |