store the resource attributes in the instance var resource_attributes, attributes was too generic and sometimes the client override the method name