Sha256: af1c50044b3dd86b24b93f92d0cbe6bcfc8768b30bd9425d2b0927ef48b5f823

Contents?: true

Size: 522 Bytes

Versions: 3

Compression:

Stored size: 522 Bytes

Contents

require 'bunny'
require 'logger'

require 'fluffle/version'
require 'fluffle/client'
require 'fluffle/errors'
require 'fluffle/handlers/base'
require 'fluffle/handlers/delegator'
require 'fluffle/handlers/dispatcher'
require 'fluffle/server'

module Fluffle
  # Expand a short name into a fully-qualified one
  def self.request_queue_name(name)
    "fluffle.requests.#{name}"
  end

  def self.response_queue_name(name)
    "fluffle.responses.#{name}"
  end

  def self.logger
    @logger ||= Logger.new $stdout
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fluffle-0.1.1 lib/fluffle.rb
fluffle-0.1.0 lib/fluffle.rb
fluffle-0.0.3 lib/fluffle.rb