user_factory.rb 294 B

123456789101112131415
  1. module Import
  2. module OTRS
  3. module UserFactory
  4. extend Import::Factory
  5. # rubocop:disable Style/ModuleFunction
  6. extend self
  7. # skip root@localhost since we have our own \o/
  8. def skip?(record, *_args)
  9. record['UserID'].to_i == 1
  10. end
  11. end
  12. end
  13. end