Class: Fluffle::Testing::Loopback::Exchange

Inherits:
Object
  • Object
show all
Defined in:
lib/fluffle/testing.rb

Instance Method Summary collapse

Constructor Details

#initialize(server) ⇒ Exchange

Returns a new instance of Exchange.



108
109
110
# File 'lib/fluffle/testing.rb', line 108

def initialize(server)
  @server = server
end

Instance Method Details

#publish(payload, opts) ⇒ Object



112
113
114
# File 'lib/fluffle/testing.rb', line 112

def publish(payload, opts)
  @server.publish(payload, opts)
end