Module: BunnyCarrot
- Defined in:
- lib/bunny_carrot.rb,
lib/bunny_carrot/logger.rb,
lib/bunny_carrot/version.rb,
lib/bunny_carrot/consumer.rb,
lib/bunny_carrot/base_worker.rb,
lib/bunny_carrot/rabbit_hole.rb,
lib/bunny_carrot/logging_actor.rb,
lib/bunny_carrot/strategy/base.rb,
lib/bunny_carrot/strategy/drop.rb,
lib/bunny_carrot/business_actor.rb,
lib/bunny_carrot/consumer_actor.rb,
lib/bunny_carrot/strategy/block.rb,
lib/bunny_carrot/business_actor_observer.rb,
lib/bunny_carrot/strategy/restart_and_drop.rb,
lib/bunny_carrot/strategy/restart_and_block.rb
Defined Under Namespace
Modules: Logger, Strategy
Classes: BaseWorker, BusinessActor, BusinessActorObserver, Consumer, ConsumerActor, LoggingActor, RabbitHole
Constant Summary
collapse
- VERSION =
"0.0.2"
Class Method Summary
collapse
Class Method Details
.logger ⇒ Object
33
34
35
|
# File 'lib/bunny_carrot.rb', line 33
def self.logger
@logger ||= Logger.new($stdout)
end
|
.logger=(logger) ⇒ Object
29
30
31
|
# File 'lib/bunny_carrot.rb', line 29
def self.logger=(logger)
@logger = logger
end
|
.server_url ⇒ Object
21
22
23
|
# File 'lib/bunny_carrot.rb', line 21
def self.server_url
@server_url ||= ENV["RABBITMQ_URL"]
end
|
.server_url=(url) ⇒ Object
25
26
27
|
# File 'lib/bunny_carrot.rb', line 25
def self.server_url=(url)
@server_url = url
end
|