RestPack / restpack_serializer

Model serialization, paging, side-loading and filtering
MIT License
175 stars 43 forks source link

Create a result class #47

Closed GavinJoyce closed 10 years ago

GavinJoyce commented 11 years ago

This will represent the result of page and resource and will allow us to refactor this ugly code:

https://github.com/RestPack/restpack_serializer/blob/master/lib/restpack_serializer/serializable/paging.rb#L73

GavinJoyce commented 10 years ago

This will also allow us to support multiple output formats, not just jsonapi

GavinJoyce commented 10 years ago

https://github.com/RestPack/restpack_serializer/pull/51