Sha256: 3c7c9da2a5ac533153875c68ac5cbae40634832f295501dd864bbe1035fc10e0

Contents?: true

Size: 839 Bytes

Versions: 1

Compression:

Stored size: 839 Bytes

Contents

require 'concurrent'
require 'hamster'
require 'bunny'
require 'json'
require 'bunny_carrot/logger'
require 'bunny_carrot/strategy/base'
require 'bunny_carrot/strategy/block'
require 'bunny_carrot/strategy/drop'
require 'bunny_carrot/strategy/restart_and_block'
require 'bunny_carrot/strategy/restart_and_drop'
require 'bunny_carrot/rabbit_hole'
require 'bunny_carrot/logging_actor'
require 'bunny_carrot/business_actor'
require 'bunny_carrot/business_actor_observer'
require 'bunny_carrot/consumer_actor'
require 'bunny_carrot/consumer'
require 'bunny_carrot/base_worker'


module BunnyCarrot
  def self.server_url
    @server_url ||= ENV["RABBITMQ_URL"]
  end

  def self.server_url=(url)
    @server_url = url
  end

  def self.logger=(logger)
    @logger = logger
  end

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bunny_carrot-0.0.2 lib/bunny_carrot.rb