examples/simple_fanout.rb in celldee-bunny-0.2.0 vs examples/simple_fanout.rb in celldee-bunny-0.3.0
- old
+ new
@@ -8,10 +8,10 @@
$:.unshift File.dirname(__FILE__) + '/../lib'
require 'bunny'
-b = Bunny.new(:logging => true)
+b = Bunny::Client.new(:logging => true)
# start a communication session with the amqp server
b.start
# declare queues
\ No newline at end of file