class Fluffle::Testing::Loopback::Exchange

Public Class Methods

new(server, channel) click to toggle source
# File lib/fluffle/testing.rb, line 164
def initialize(server, channel)
  @server = server
  @channel = channel
end

Public Instance Methods

on_return(&block) click to toggle source
# File lib/fluffle/testing.rb, line 173
def on_return(&block)
end
publish(payload, opts) click to toggle source
# File lib/fluffle/testing.rb, line 169
def publish(payload, opts)
  @channel.publish payload, opts
end