gamache / hyperresource

A self-inflating Ruby client for hypermedia APIs. Not under active development.
http://hyperresource.com/doc
MIT License
304 stars 29 forks source link

Handle array of Link Objects #9

Closed etiennebarrie closed 11 years ago

etiennebarrie commented 11 years ago

Hi,

The spec states, regarding the _links property:

It is an object whose property names are link relation types (as defined by [RFC5988]) and values are either a Link Object or an array of Link Objects.

And we needed that for CURIEs, so with @julienXX we implemented it.

Enjoy, Étienne & Julien

gamache commented 11 years ago

Sorry for my awful lag, and thank you once more for keeping an eye on the spec for me! I am reviewing this now.

gamache commented 11 years ago

Looks great!