lib/dispatch-rider/publisher/configuration/notification_service.rb in dispatch-rider-2.1.0 vs lib/dispatch-rider/publisher/configuration/notification_service.rb in dispatch-rider-2.2.0
- old
+ new
@@ -1,15 +1,17 @@
+# frozen_string_literal: true
+
module DispatchRider
class Publisher::Configuration::NotificationService
def initialize(name, options)
@name = name
@options = options
end
attr_reader :name, :options
def ==(other)
- self.name == other.name &&
- self.options == other.options
+ name == other.name &&
+ options == other.options
end
end
end