123456789101112131415161718 |
- # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
- class Sequencer::Unit::Import::Kayako::Case::OrganizationId < Sequencer::Unit::Common::Provider::Named
- uses :resource, :id_map
- private
- def organization_id
- return if organization.nil?
- id_map['Organization'][organization['id']]
- end
- def organization
- resource['requester']&.fetch('organization')
- end
- end
|