/**
  * @param ResponseInterface $response
  * @param ClientInterface|GuzzleHttp5\ClientInterface $client
  * @return bool
  * @internal param ClientInterface $client
  */
 public function handle(ResponseInterface $response, \GuzzleHttp5\ClientInterface $client)
 {
     return $response->getStatusCode() === 204;
 }
 protected function getJson(ResponseInterface $response)
 {
     return $response->json(["object" => true]);
 }
 private function notSuccessful(ResponseInterface $response)
 {
     return !in_array($response->getStatusCode(), [200, 201, 204, 504]);
 }