Sha256: 52cf8d6c27c869c67fd35fe4e49a55922c266e837e9f7ab8d515e28235b730fa

Contents?: true

Size: 348 Bytes

Versions: 7

Compression:

Stored size: 348 Bytes

Contents

module EventBus
  class Config
    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']}"

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
event_bus_rb-2.1.0 lib/event_bus/config.rb
event_bus_rb-2.0.3 lib/event_bus/config.rb
event_bus_rb-2.0.2 lib/event_bus/config.rb
event_bus_rb-2.0.1 lib/event_bus/config.rb
event_bus_rb-2.0.0 lib/event_bus/config.rb
event_bus_rb-1.1.0 lib/event_bus/config.rb
event_bus_rb-1.0.1 lib/event_bus/config.rb