lib/amqp/client.rb in celldee-bunny-0.0.6 vs lib/amqp/client.rb in celldee-bunny-0.0.7
- old
+ new
@@ -1,11 +1,11 @@
module AMQP
class Client
CONNECT_TIMEOUT = 1.0
RETRY_DELAY = 10.0
- attr_reader :status
- attr_accessor :channel, :host, :logging, :exchanges, :queues, :port, :ticket
+ attr_reader :status, :host, :vhost, :port
+ attr_accessor :channel, :logging, :exchanges, :queues, :ticket
def initialize(opts = {})
@host = opts[:host] || 'localhost'
@port = opts[:port] || AMQP::PORT
@user = opts[:user] || 'guest'
\ No newline at end of file