def refresh(self):
if self.get_resource_endpoint() is not None:<EOL><INDENT>return self.send(self.get_resource_endpoint(), "<STR_LIT>")<EOL><DEDENT>
Refreshes a resource by checking against the API
:return: