Sha256: 843a8363e54bcccf6894ce809318b3b43ed6a2896a5eda40e79f951df0a3ec58
Contents?: true
Size: 266 Bytes
Versions: 5
Compression:
Stored size: 266 Bytes
Contents
lib = File.join File.dirname(__FILE__), '..', 'lib' $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'fluffle' server = Fluffle::Server.new url: 'amqp://localhost' server.drain do |dispatcher| dispatcher.handle('foo') { 'bar' } end server.start
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
fluffle-0.2.0 | examples/server.rb |
fluffle-0.1.1 | examples/server.rb |
fluffle-0.1.0 | examples/server.rb |
fluffle-0.0.3 | examples/server.rb |
fluffle-0.0.2 | examples/server.rb |