Class: Hopper::Channel::Proxy
- Inherits:
-
Object
- Object
- Hopper::Channel::Proxy
- Defined in:
- lib/hopper/channel.rb
Instance Method Summary collapse
-
#initialize(hopper, bunny) ⇒ Proxy
constructor
A new instance of Proxy.
- #queue(name) ⇒ Object
Constructor Details
permalink #initialize(hopper, bunny) ⇒ Proxy
Returns a new instance of Proxy.
9 10 11 12 |
# File 'lib/hopper/channel.rb', line 9 def initialize(hopper, bunny) @hopper = hopper @bunny = bunny end |
Instance Method Details
permalink #queue(name) ⇒ Object
[View source]
14 15 16 |
# File 'lib/hopper/channel.rb', line 14 def queue(name) @bunny.queue(name) end |