diff --git a/src/Resources/Leads.php b/src/Resources/Leads.php index 4913705..7898cad 100644 --- a/src/Resources/Leads.php +++ b/src/Resources/Leads.php @@ -63,13 +63,25 @@ public function deleteLabel($id) * @param array $values * @return Response */ - public function update($id, array $values = []) + public function updateLabel($id, array $values = []) { $this->request->setResource('leadLabels'); return $this->request->put('/' . $id, $values); } + /** + * @param $id + * @param array $values + * @return Response + */ + public function update($id, array $values = []) + { + $this->request->setResource('leads'); + + return $this->request->get(''); + } + /** * Get all sources. *