Class: Tochtli::RabbitConnection::ChannelWrap
- Inherits:
-
Object
- Object
- Tochtli::RabbitConnection::ChannelWrap
- Defined in:
- lib/tochtli/rabbit_connection.rb
Instance Attribute Summary collapse
-
#channel ⇒ Object
readonly
Returns the value of attribute channel.
-
#exchange ⇒ Object
readonly
Returns the value of attribute exchange.
Instance Method Summary collapse
-
#initialize(channel, exchange) ⇒ ChannelWrap
constructor
A new instance of ChannelWrap.
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
#channel ⇒ Object (readonly)
Returns the value of attribute channel.
196 197 198 |
# File 'lib/tochtli/rabbit_connection.rb', line 196 def channel @channel end |
#exchange ⇒ Object (readonly)
Returns the value of attribute exchange.
196 197 198 |
# File 'lib/tochtli/rabbit_connection.rb', line 196 def exchange @exchange end |