Class: Tochtli::RabbitConnection::ChannelWrap

Inherits:
Object
  • Object
show all
Defined in:
lib/tochtli/rabbit_connection.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(channel, exchange) ⇒ ChannelWrap

Returns a new instance of ChannelWrap.



198
199
200
201
# File 'lib/tochtli/rabbit_connection.rb', line 198

def initialize(channel, exchange)
  @channel  = channel
  @exchange = exchange
end

Instance Attribute Details

#channelObject (readonly)

Returns the value of attribute channel.



196
197
198
# File 'lib/tochtli/rabbit_connection.rb', line 196

def channel
  @channel
end

#exchangeObject (readonly)

Returns the value of attribute exchange.



196
197
198
# File 'lib/tochtli/rabbit_connection.rb', line 196

def exchange
  @exchange
end