case_insensitive.rb 476 B

1234567891011121314151617181920212223
  1. # Copyright (C) 2012-2022 Zammad Foundation, https://zammad-foundation.org/
  2. class Sequencer
  3. class Unit
  4. module Import
  5. module Common
  6. module RemoteId
  7. class CaseInsensitive < Sequencer::Unit::Base
  8. uses :remote_id
  9. provides :remote_id
  10. def process
  11. state.provide(:remote_id) do
  12. remote_id.downcase
  13. end
  14. end
  15. end
  16. end
  17. end
  18. end
  19. end
  20. end