relevance/diametric — pull request #26 by dwbutler (2012-12-05 23:59:58+00:00)
Title: #attributes method for Entity

I tried using Diametric in a Rails API. I tried calling #to_json on the model but this spit out attributes I didn't want. So then I expected there to be an #attributes method which would return all the Diametric::Entity attributes set on the model as a hash. Since this didn't exist, I decided to write it. :)