public function set($key, $value, $ttl = null, $condition = array())
{
$data = array('value' => $value);
if ($ttl) {
$data['ttl'] = $ttl;
}
$request = $this->guzzleclient->put($this->buildKeyUri($key), null, $data, array('query' => $condition));
$response = $request->send();
$body = $response->json();
return $body;
}