Refactor Resource.wrap to work with any Enumerable object, not just Arrays.
Merge pull request #10 from careo/tweak-resource-wrap

Refactor Resource.wrap to work with any Enumerable object