Commit 1aff818a authored by Marcel Hoppe's avatar Marcel Hoppe

add yaml source class

parent eb188a5f
......@@ -4,6 +4,7 @@ require 'bunny'
module ActiveBunny
extend ActiveSupport::Autoload
autoload :YAMLSource
autoload :Publisher
autoload :Subscriber
......@@ -14,7 +15,7 @@ module ActiveBunny
@@queues = {}
def self.load_config(config_file)
self.config = YAML.load([Rails.env.to_sym]
self.config =
def self.config
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment