ox-it/moxie — pull request #10 by martinfilliau (2012-12-22 16:11:01+00:00)
Title: Added some helpers to build HAL resources

Added helpers to add link, embedded resources. The aim is to reduce the amount of logic needed in each representation to move it in core/representations which is fully tested, so it's less error prone in individual representations.

It's a WIP and open to discussion (looking forward @davbo inputs), I was thinking of renaming the core HalJsonRepresentation to HalRepresentation because it has a as_json method but could easily have methods to serialize as XML or HTML...