public function createOrUpdate(array $params, $routeKey = __FUNCTION__) { $route = $this->getRoute($routeKey, $params); return $this->client->post($route, [$this->objectName => $params]); }