$this->logger = $logger;
$this->config = $config;
$this->client = new Client("curl", "github");
- $this->client->configure($config->http->configure);
+ $this->client->configure($config->http->configure->toArray());
$this->client->attach(new ClientObserver($logger));
$this->tokens = $tokens ?: new Storage\Session;
$this->cache = $cache;