Checks if the attribute 'code' exists, if not, consider 0 as default value. To make it compatible with servers that don't return this attribute.
Merge pull request #14 from bicoco/master

Checks if the attribute 'code' exists, if not, consider 0 as default value.