public function create(array $options) { $this->makePath(); if (Type::DEFINITION == $this->resource) { $this->client->createWithPost($options); } else { $this->client->create($options); } }