Sha256: 2290f1a76e1030d1a2d26a19916f6390578b8ab99c25355c2e0f021dafa2db1d
Contents?: true
Size: 519 Bytes
Versions: 3
Compression:
Stored size: 519 Bytes
Contents
module BoomNats class Railtie < ::Rails::Railtie initializer "activeservice.autoload", before: :set_autoload_paths do |app| # app.config.autoload_paths << ActiveService::Configuration.path app.config.eager_load_paths << ::Rails.root.join("app", "consumers").to_s end initializer "boom_nats.railtie.configure_rails_initialization" do |app| app.config.nats = BoomNats.setup BoomNats.logger = ::Rails.logger end server do |app| app.config.nats.start end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
boom_nats-0.1.5 | lib/boom_nats/railtie.rb |
boom_nats-0.1.4 | lib/boom_nats/railtie.rb |
boom_nats-0.1.3 | lib/boom_nats/railtie.rb |