Class: EventBus::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/event_bus/config.rb

Constant Summary collapse

APP_NAME =
ENV['RABBIT_EVENT_BUS_APP_NAME']
TOPIC =
ENV['RABBIT_EVENT_BUS_TOPIC_NAME']
VHOST =
ENV['RABBIT_EVENT_BUS_VHOST']
URL =
ENV['RABBIT_URL']
FULL_URL =
"#{ENV['RABBIT_URL']}/#{ENV['RABBIT_EVENT_BUS_VHOST']}"

Class Method Summary collapse

Class Method Details

.brokerObject



9
10
11
# File 'lib/event_bus/config.rb', line 9

def self.broker
  EventBus::Broker::Rabbit
end