README.md in horizon_client-0.2.4 vs README.md in horizon_client-0.2.5
- old
+ new
@@ -39,10 +39,16 @@
# <row>
# </row>
# <row>
# </row>
# </collection>
+# <group>
+# <link>
+# </link>
+# <link>
+# </link>
+# </group>
# </resource>
# returns and expects HorizonClient::Resource object
resource = client.get('path')
return_resource = client.post('path', resource)
@@ -74,9 +80,12 @@
collection = resource.collection
entity_array = collection.rows # => [ #<HorizonClient::Entity> ]
entity_array.each do |entity|
entity['foo'] = 'test'
end
+
+# get group with links, it behaves just like collection
+group = resource.group
```
### Necessary environment variables