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

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

diff --git a/jobs/regular/remind_user.rb b/jobs/regular/remind_user.rb
index fde1ea1..bbcbffa 100644
--- a/jobs/regular/remind_user.rb
+++ b/jobs/regular/remind_user.rb
@@ -1,7 +1,7 @@
 # frozen_string_literal: true
 
 module Jobs
-  class RemindUser < Jobs::Base
+  class RemindUser < ::Jobs::Base
     sidekiq_options queue: 'low'
 
     def execute(args)
diff --git a/jobs/scheduled/enqueue_reminders.rb b/jobs/scheduled/enqueue_reminders.rb
index 52d0aa4..041a9a1 100644
--- a/jobs/scheduled/enqueue_reminders.rb
+++ b/jobs/scheduled/enqueue_reminders.rb
@@ -1,7 +1,7 @@
 # frozen_string_literal: true
 
 module Jobs
-  class EnqueueReminders < Jobs::Scheduled
+  class EnqueueReminders < ::Jobs::Scheduled
     every 1.day
 
     def execute(_args)

GitHub sha: d59e7fe1

1 Like