intridea/grape-entity — pull request #10 by agileanimal (2013-03-29 18:46:54+00:00)
Title: Enable flag on exposures to optionally exlcude nil attributes.

For certain APIs I find that it is best for the client if the API hide's attributes that are nil.

Instead of handling this in each serializer (json, plist, xml) I am looking for options to pull control over this into the entity.