Sha256: f502c815fca92e1d6c549ebd3801193053264fa6b350129f5e4e5f292d53da33

Contents?: true

Size: 426 Bytes

Versions: 3

Compression:

Stored size: 426 Bytes

Contents

require 'bunny'
require 'mono_logger'
module Pwwka
  class Configuration

    attr_accessor :rabbit_mq_host 
    attr_accessor :topic_exchange_name
    attr_accessor :logger
    attr_accessor :options

    def initialize
      @rabbit_mq_host       = nil
      @topic_exchange_name  = "pwwka-topics-#{Pwwka.environment}"
      @logger               = MonoLogger.new(STDOUT)
      @options              = {}
    end

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pwwka-0.2.0 lib/pwwka/configuration.rb
pwwka-0.1.0 lib/pwwka/configuration.rb
pwwka-0.0.2 lib/pwwka/configuration.rb