lib/legion/transport/message.rb in legion-transport-1.0.0 vs lib/legion/transport/message.rb in legion-transport-1.1.0

- old
+ new

@@ -6,10 +6,10 @@ def initialize(**options) @options = options validate end - def publish(options = @options) + def publish(options = @options) # rubocop:disable Metrics/AbcSize,Metrics/CyclomaticComplexity,Metrics/PerceivedComplexity raise unless @valid exchange_dest = exchange.respond_to?(:new) ? exchange.new : exchange exchange_dest.publish(encode_message, routing_key: routing_key || '',