public function updateSnippet($id, array $params) { $snippet = new Snippet($this, $id, $this->getClient()); return $snippet->update($params); }