mapping.rb 393 B

12345678910111213141516
  1. # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. class Sequencer::Unit::Import::Freshdesk::Group::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['description'],
  10. }
  11. end
  12. end
  13. end