Sha256: f70e272817c6da898f0e60092da6aca53d03ed4f162dd819fdfce4a200d15d0b

Contents?: true

Size: 356 Bytes

Versions: 2

Compression:

Stored size: 356 Bytes

Contents

require 'bundler/setup'
require 'bunny'
require 'json'

require 'caerbannog/version'
require 'caerbannog/message_poller'
require 'caerbannog/queue'

module Caerbannog
  class ConfigurationError < StandardError; end

  class << self
    attr_accessor :message_class, :rabbit_read_url, :rabbit_write_url

    def configure
      yield self
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
caerbannog-0.2.1 lib/caerbannog.rb
caerbannog-0.2.0 lib/caerbannog.rb