README.md in puree-0.15.0 vs README.md in puree-0.16.0
- old
+ new
@@ -30,17 +30,23 @@
```ruby
metadata['doi']
```
-### Collection of 50 resources
+...or using a method...
+
+```ruby
+d.doi
+```
+
+### Collection of resources
Tell Purée what you are looking for...
```ruby
c = Puree::Collection.new resource: :dataset
metadata = c.find limit: 50
```
-...and get the data from an array of hashes.
+...and get the data from an array of hashes or from an array of instances.
## Documentation
[API in YARD](http://www.rubydoc.info/gems/puree/frames)
[Detailed usage](https://github.com/lulibrary/puree/wiki)