subject.rb 282 B

123456789101112
  1. # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. class Sequencer::Unit::Import::Zendesk::Ticket::Subject < Sequencer::Unit::Common::Provider::Named
  3. uses :resource
  4. private
  5. def subject
  6. resource.subject || resource.description || '-'
  7. end
  8. end