def get_resource_class(self):
if not self.resource_class:<EOL><INDENT>return modelresource_factory(self.model)<EOL><DEDENT>else:<EOL><INDENT>return self.resource_class<EOL><DEDENT>
Returns ResourceClass