Sha256: df2802f6e56a3f4b56e467d27916da2a2337b579bda4fbefdf3ae32327eb97f3

Contents?: true

Size: 301 Bytes

Versions: 1

Compression:

Stored size: 301 Bytes

Contents

module Rack
  module AMQP
    class << self
      attr_accessor :configuration
    end

    def self.configure
      self.configuration ||= Configuration.new
      yield(configuration)
    end

    class Configuration
      attr_accessor :rabbit_host
      attr_accessor :queue_name
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jackalope-0.0.1 lib/rack/amqp/configuration.rb