Class: Lapine::Test::FakeQueue
- Inherits:
-
Object
- Object
- Lapine::Test::FakeQueue
- Defined in:
- lib/lapine/test/exchange.rb
Instance Attribute Summary collapse
-
#exchange ⇒ Object
readonly
Returns the value of attribute exchange.
-
#message_history ⇒ Object
readonly
Returns the value of attribute message_history.
Instance Method Summary collapse
Instance Attribute Details
#exchange ⇒ Object (readonly)
Returns the value of attribute exchange.
38 39 40 |
# File 'lib/lapine/test/exchange.rb', line 38 def exchange @exchange end |
#message_history ⇒ Object (readonly)
Returns the value of attribute message_history.
38 39 40 |
# File 'lib/lapine/test/exchange.rb', line 38 def end |
Instance Method Details
#bind(exchange) ⇒ Object
40 41 42 43 44 45 |
# File 'lib/lapine/test/exchange.rb', line 40 def bind(exchange) @exchange = exchange = MessageHistory.new exchange.bind self end |
#message_count ⇒ Object
47 48 49 |
# File 'lib/lapine/test/exchange.rb', line 47 def . end |
#messages ⇒ Object
51 52 53 |
# File 'lib/lapine/test/exchange.rb', line 51 def . end |