skip.rb 305 B

123456789101112
  1. # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. class Sequencer::Unit::Import::Freshdesk::TimeEntry::Skip < Sequencer::Unit::Base
  3. uses :time_entry_available
  4. provides :action
  5. def process
  6. return if time_entry_available
  7. state.provide(:action, :skipped)
  8. end
  9. end