system_keys_vacuum.rb 203 B

12345678910111213
  1. # frozen_string_literal: true
  2. class Vacuum::SystemKeysVacuum
  3. def perform
  4. vacuum_expired_system_keys!
  5. end
  6. private
  7. def vacuum_expired_system_keys!
  8. SystemKey.expired.delete_all
  9. end
  10. end