Class: BunnyPublisher::Test::TestExchange

Inherits:
Array
  • Object
show all
Defined in:
lib/bunny_publisher/test.rb

Instance Method Summary collapse

Instance Method Details

#on_return(&block) ⇒ Object

in case if used with Mandatory module included



13
# File 'lib/bunny_publisher/test.rb', line 13

def on_return(&block); end

#publish(message, options = {}) ⇒ Object



7
8
9
10
# File 'lib/bunny_publisher/test.rb', line 7

def publish(message, options = {})
  self << [message, options]
  true
end