lib/dispatch-rider/scheduled_job.rb in dispatch-rider-2.1.0 vs lib/dispatch-rider/scheduled_job.rb in dispatch-rider-2.2.0
- old
+ new
@@ -1,5 +1,7 @@
+# frozen_string_literal: true
+
require "active_record"
# @note: Later this could be pulled out to its own gem and included depending on what ORM the user
# prefers. Something like:
# @example
@@ -48,12 +50,10 @@
publisher.publish(destinations: destinations, message: message)
destroy # once published
end
- private
-
- delegate :publisher, to: :"self.class"
+ delegate :publisher, to: :'self.class'
end
end
require_relative "scheduled_job/migration"