Sha256: 047e7c8e5ed13e118bcc9e168b7d8bce479b5125d3679fdd4d7ad3ef901783a2

Contents?: true

Size: 284 Bytes

Versions: 1

Compression:

Stored size: 284 Bytes

Contents

require "qodex-rails/version"
require "qodex-rails/middleware"

module QodexRails
  class Error < StandardError; end

  class Railtie < Rails::Railtie
    initializer "qodex-rails.insert_middleware" do |app|
      app.config.middleware.use Middleware::RequestLogger
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
qodex-rails-0.1.0 lib/qodex-rails.rb