mapping.rb 430 B

1234567891011121314151617
  1. # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. class Sequencer::Unit::Import::Zendesk::Organization::Mapping < Sequencer::Unit::Base
  3. include ::Sequencer::Unit::Import::Common::Mapping::Mixin::ProvideMapped
  4. uses :resource
  5. def process
  6. provide_mapped do
  7. {
  8. name: resource.name,
  9. note: resource.note,
  10. shared: resource.shared_tickets,
  11. }
  12. end
  13. end
  14. end