Sha256: 8e9face971f47ce123289f67d8f442358a487d9c76acecdbf175cc50c2432ee1

Contents?: true

Size: 200 Bytes

Versions: 3

Compression:

Stored size: 200 Bytes

Contents

require "elasticity/log_subscriber"

module Elasticity
  class Railtie < Rails::Railtie
    initializer "elasticity.initialize_logging" do
      LogSubscriber.attach_to(:elasticity)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
es-elasticity-1.2.1 lib/elasticity/railtie.rb
es-elasticity-1.1.0 lib/elasticity/railtie.rb
es-elasticity-1.0.1 lib/elasticity/railtie.rb