lib/dispatch-rider/publisher/configuration/destination.rb in dispatch-rider-2.1.0 vs lib/dispatch-rider/publisher/configuration/destination.rb in dispatch-rider-2.2.0
- old
+ new
@@ -1,5 +1,7 @@
+# frozen_string_literal: true
+
module DispatchRider
class Publisher::Configuration::Destination
def initialize(name, attributes={})
@name = name
@@ -10,12 +12,12 @@
end
attr_reader :name, :service, :channel, :options
def ==(other)
- self.name == other.name &&
- self.service == other.service &&
- self.channel == other.channel &&
- self.options == other.options
+ name == other.name &&
+ service == other.service &&
+ channel == other.channel &&
+ options == other.options
end
end
end