code: def path(self, which=None):
          
          if which in ('cancel',):
              return '{0}/{1}'.format(
                  super(RecurringLogic, self).path(which='self'),
                  which
              )
          return super(RecurringLogic, self).path(which)
docs: Extend ``nailgun.entity_mixins.RecurringLogic.path``.
          The format of the returned path depends on the value of ``which``:
  
          cancel
              /foreman_tasks/api/recurring_logics/:id/cancel
  
          Otherwise, call ``super``.