case_sensitive.rb 323 B

12345678910111213
  1. # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. class Sequencer::Unit::Import::Common::RemoteId::CaseSensitive < Sequencer::Unit::Base
  3. uses :remote_id
  4. provides :remote_id
  5. def process
  6. state.provide(:remote_id) do
  7. Digest::SHA2.hexdigest(state.use(:remote_id))
  8. end
  9. end
  10. end