FIX: Use top-level namespace for base classes (#6)

FIX: Use top-level namespace for base classes (#6)

diff --git a/app/jobs/regular/process_alert.rb b/app/jobs/regular/process_alert.rb
index 5f16ee7..7a08d82 100644
--- a/app/jobs/regular/process_alert.rb
+++ b/app/jobs/regular/process_alert.rb
@@ -1,7 +1,7 @@
 # frozen_string_literal: true
 
 module Jobs
-  class ProcessAlert < Jobs::Base
+  class ProcessAlert < ::Jobs::Base
     include AlertPostMixin
 
     def execute(args)
diff --git a/app/jobs/regular/process_grouped_alerts.rb b/app/jobs/regular/process_grouped_alerts.rb
index e5adbbc..f26f2f1 100644
--- a/app/jobs/regular/process_grouped_alerts.rb
+++ b/app/jobs/regular/process_grouped_alerts.rb
@@ -1,7 +1,7 @@
 # frozen_string_literal: true
 
 module Jobs
-  class ProcessGroupedAlerts < Jobs::Base
+  class ProcessGroupedAlerts < ::Jobs::Base
     sidekiq_options retry: false
 
     include AlertPostMixin

GitHub sha: 991333be

1 Like