def METHOD_NAME(self, map: "Map") -> Iterable["Rule"]:
    rules = []
    for name in _resource_methods:
        member = getattr(self.obj, name, None)
        if member is None:
            continue
        http_method = name[3:].upper()
        rules.append(
            Rule(
                self.path, endpoint=member, methods=[http_method], host=self.host, **self.kwargs
            )
        )
    return rules