lib/dispatch-rider/notification_services/base.rb in dispatch-rider-2.1.0 vs lib/dispatch-rider/notification_services/base.rb in dispatch-rider-2.2.0
- old
+ new
@@ -1,4 +1,6 @@
+# frozen_string_literal: true
+
# This base class provides an interface that we can implement
# to generate a wrapper around a notification service.
# The expected usage is as follows :
# notification_service = DispatchRider::NotificationServices::Base.new
# notification_service.publish(:to => [:foo, :oof], :message => {:subject => "bar", :body => "baz"})