module RabbitCourier

Constants

VERSION

Public Class Methods

connection() click to toggle source
# File lib/rabbit_courier.rb, line 6
def self.connection
  @connection ||= Bunny.new(recover_from_connection_close: false).tap(&:start)
end
new(name, opts = {}) click to toggle source
# File lib/rabbit_courier.rb, line 10
def self.new(name, opts = {})
  RabbitCourier::RPCClient.new(name, opts)
end