# File lib/couch_potato/persistence.rb, line 73 def attributes self.class.properties.inject({}) do |res, property| property.serialize(res, self) res end end