Skip to content

Commit

Permalink
Merge pull request #6 from baileyherbert/master
Browse files Browse the repository at this point in the history
Allow customization of the Guzzle client
  • Loading branch information
dsentker authored Dec 3, 2018
2 parents 04459b9 + 0d5f27b commit cfe392a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/InsightsCaller.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,11 @@ class InsightsCaller
*
* @param string $apiKey
* @param string $locale
* @param array $config
*/
public function __construct($apiKey, $locale = 'en')
public function __construct($apiKey, $locale = 'en', $config = array())
{
$this->client = new Client();
$this->client = new Client($config);
$this->apiKey = $apiKey;
$this->locale = $locale;
$this->captureScreenshot = true;
Expand Down

0 comments on commit cfe392a

Please sign in to comment.