noesya/osuny

View on GitHub
app/jobs/dependencies/clean_websites_if_necessary_job.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
class Dependencies::CleanWebsitesIfNecessaryJob < ApplicationJob
  queue_as :mice

  def perform(object_with_dependencies)
    object_with_dependencies.clean_websites_if_necessary_safely
  end
end