Class: BunnyMock
- Inherits:
-
Object
show all
- Defined in:
- lib/support/bunny_mock.rb
Defined Under Namespace
Classes: Consumer, Exchange, Queue
Instance Method Summary
collapse
Instance Method Details
#exchange(*attrs) ⇒ Object
19
20
21
|
# File 'lib/support/bunny_mock.rb', line 19
def exchange(*attrs)
BunnyMock::Exchange.new(*attrs)
end
|
#qos ⇒ Object
7
8
9
|
# File 'lib/support/bunny_mock.rb', line 7
def qos
:qos_ok
end
|
#queue(*attrs) ⇒ Object
15
16
17
|
# File 'lib/support/bunny_mock.rb', line 15
def queue(*attrs)
BunnyMock::Queue.new(*attrs)
end
|
#start ⇒ Object
3
4
5
|
# File 'lib/support/bunny_mock.rb', line 3
def start
:connected
end
|
#stop ⇒ Object
11
12
13
|
# File 'lib/support/bunny_mock.rb', line 11
def stop
nil
end
|