post("/tenancy/tenants/", $params); } /** * @param $params * @return mixed * @throws \GuzzleHttp\Exception\GuzzleException */ public function remove($id, $params=[]) { return $this->delete("/tenancy/tenants/".$id."/", $params); } /** * @param $params * @return mixed * @throws \GuzzleHttp\Exception\GuzzleException */ public function edit($id, $params=[]) { return $this->put("/tenancy/tenants/".$id."/", $params); } /** * @param $params * @return mixed * @throws \GuzzleHttp\Exception\GuzzleException */ public function list($params=[]) { return $this->get("/tenancy/tenants/", $params); } /** * @param $params * @return mixed * @throws \GuzzleHttp\Exception\GuzzleException */ public function show($id, $params=[]) { return $this->get("/tenancy/tenants/".$id."/", $params); } }