Skip to content
This repository has been archived by the owner on Sep 11, 2022. It is now read-only.

Commit

Permalink
change signature of Exchange#exchange_declare
Browse files Browse the repository at this point in the history
  • Loading branch information
skaes committed Feb 1, 2014
1 parent c02aca9 commit 3fd7caa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/amqp/exchange.rb
Expand Up @@ -365,9 +365,9 @@ def initialize(channel, type, name, opts = {}, &block)
end
end

self.exchange_declare(@opts[:passive], @opts[:durable], @opts[:auto_delete], @opts[:nowait], @opts[:arguments], @opts[:internal], &shim)
self.exchange_declare(@opts[:passive], @opts[:durable], @opts[:auto_delete], @opts[:internal], @opts[:nowait], @opts[:arguments], &shim)
else
self.exchange_declare(@opts[:passive], @opts[:durable], @opts[:auto_delete], @opts[:nowait], @opts[:arguments], @opts[:internal])
self.exchange_declare(@opts[:passive], @opts[:durable], @opts[:auto_delete], @opts[:internal], @opts[:nowait], @opts[:arguments])
end
end
end
Expand Down Expand Up @@ -608,7 +608,7 @@ def reset
# @group Declaration

# @api public
def exchange_declare(passive = false, durable = false, auto_delete = false, nowait = false, arguments = nil, internal = false, &block)
def exchange_declare(passive = false, durable = false, auto_delete = false, internal = false, nowait = false, arguments = nil, &block)
# for re-declaration
@passive = passive
@durable = durable
Expand Down

0 comments on commit 3fd7caa

Please sign in to comment.