8
0

Adjust API to work with Guzzle 6

Dieser Commit ist enthalten in:
ayeo
2016-04-09 16:42:46 +02:00
Ursprung 10569180da
Commit fa38e68045
4 geänderte Dateien mit 98 neuen und 64 gelöschten Zeilen

Datei anzeigen

@ -24,10 +24,14 @@ class Api
$this->space = $space_id;
}
protected function getClient()
/**
* This method is public due to test purposes
* @return Client
*/
public function getClient()
{
$options = [
'base_url' => $this->base_url . 'rest/api/',
'base_uri' => $this->base_url . 'rest/api/',
'defaults' => [
'auth' => [$this->user, $this->pass]
]