lib/amqp/client/message.rb in amqp-client-0.3.0 vs lib/amqp/client/message.rb in amqp-client-1.0.0
- old
+ new
@@ -5,10 +5,10 @@
def ack
channel.basic_ack(delivery_tag)
end
def reject(requeue: false)
- channel.basic_reject(delivery_tag, requeue)
+ channel.basic_reject(delivery_tag, requeue: requeue)
end
end
ReturnMessage = Struct.new(:reply_code, :reply_text, :exchange, :routing_key, :properties, :body)
end