code: def urls(cls):
          
          return urls.patterns('', urls.url(
              r'^{}(?:$|(?P<path>[/:(.].*))'.format(cls.meta.name),
              cls.view,
              name='armet-api-{}'.format(cls.meta.name),
              kwargs={'resource': cls.meta.name}))
docs: Builds the URL configuration for this resource.