README.md in horizon_client-0.2.3 vs README.md in horizon_client-0.2.4
- old
+ new
@@ -48,9 +48,12 @@
return_resource = client.post('path', resource)
# get entity:
entity = resource.entity
+# get result entity after successful upload
+result = return_resource.result
+
# get and set object values
entity['name'] # => 'Jack'
entity['name'] = 'Jane'
entity['foo/bar'] # => 'Jill'
entity['foo/baz'] = 'Joe' # => <foo><bar>Jill</bar><baz>Joe</baz></foo>