public function all($vhost = null)
    {
        if ($vhost) {
            return $this->client->send(sprintf('/api/bindings/%s', urlencode($vhost)));
        } else {
            return $this->client->send('/api/bindings');
        }
    }