lib/openwfe/participants/participant_map.rb
#
# Will call the cancel method of the participant if it has
# one, or will simply discard the cancel item else.
#
Will call the cancel method of the participant if it has
one, or will simply discard the cancel item else.
Will call the cancel method of the participant if it has one or will simply discard the cancel item else .
def do_cancel (participant, cancel_item)
      participant.cancel(cancel_item) if participant.respond_to?(:cancel)
      onotify(:dispatch, :cancel, cancel_item)
         maybe it'd be better to specifically log that
         a participant has no cancel() method, but it's OK
         like that for now.
    end
def do_cancel ( participant , cancel_item ) participant . cancel ( cancel_item ) if participant . respond_to? ( :cancel ) onotify ( :dispatch , :cancel , cancel_item ) end
Will call the cancel method of the participant if it has
one, or will simply discard the cancel item else.
Will call the cancel method of the participant if it has one or will simply discard the cancel item else .
# # maybe it'd be better to specifically log that # a participant has no cancel() method, but it's OK # like that for now.
participant
<not_specific>
cancel_item
<not_specific>