conversations.rb 516 B

123456789101112131415161718192021
  1. # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. class Sequencer::Unit::Import::Freshdesk::Ticket::Conversations < Sequencer::Unit::Import::Freshdesk::SubSequence::Generic
  3. prepend ::Sequencer::Unit::Import::Common::Model::Mixin::Skip::Action
  4. optional :action
  5. skip_action :skipped, :failed
  6. uses :resource
  7. def sequence_name
  8. 'Sequencer::Sequence::Import::Freshdesk::Conversations'.freeze
  9. end
  10. def request_params
  11. super.merge(
  12. ticket: resource,
  13. )
  14. end
  15. end