Module: RabbitMQ::Server

Defined in:
lib/rabbitmq/server.rb

Class Method Summary collapse

Class Method Details

.url=(url) ⇒ Object

Set the url to the server and open a new connection



12
13
14
15
# File 'lib/rabbitmq/server.rb', line 12

def url=(url)
  @@url        = url
  @@connection = Bunny.new(url).start
end