lib/bunny/channel.rb in bunny-1.6.3 vs lib/bunny/channel.rb in bunny-1.7.0
- old
+ new
@@ -1115,9 +1115,10 @@
# @group Exchange operations (exchange.*)
# Declares a echange using echange.declare AMQP 0.9.1 method.
#
# @param [String] name Exchange name
+ # @param [String,Symbol] type Exchange type, e.g. :fanout or :topic
# @param [Hash] opts Exchange properties
#
# @option opts [Boolean] durable (false) Should information about this echange be persisted to disk so that it
# can survive broker restarts? Typically set to true for long-lived exchanges.
# @option opts [Boolean] auto_delete (false) Should this echange be deleted when it is no longer used?