README.md in manifestly-client-1.0.0 vs README.md in manifestly-client-1.0.1
- old
+ new
@@ -35,10 +35,10 @@
### Workflow entity
You may create a new workflow by passing a hash of data to the Workflow constructor and invoking the `create` method. Some internal fields (like `id`) will be injected back in to the object after it is created.
```ruby
data = {title: 'Test Workflow', external_id: 'abc123'}
-workflow = Manifestly::Entity::Workflow.new(data).create
+workflow = Manifestly::Entity::Workflow.new(data)
workflow.create
```
If you specify an `external_id` for a local reference, Manifest.ly will use an `upsert` methodology (if the workflow does not exist it will be created - otherwise it will be updated). This effectively means that create/update/save function identically for workflows.
```ruby