1class InvalidateSignaturesJob < ApplicationJob
 
2  queue_as :high_priority
 
3
 
4  rescue_from(ActiveJob::DeserializationError) do |exception|
 
5    Appsignal.send_exception exception
 
6  end
 
7
  • UtilityFunction - doesn't depend on instance state (maybe move it to another class?) » reek
  • Complexity 1 » saikuro
8  def perform(invalidation)
 
 9    invalidation.invalidate!
 
10  end
 
11end