Sha256: 9d68449cd63fd5c3544401c64016547929ffe9c5e624fbbfe155df0d0d740e78

Contents?: true

Size: 268 Bytes

Versions: 3

Compression:

Stored size: 268 Bytes

Contents

require 'partiarelic'

if defined?(Rails)
  module Partiarelic
    class Railtie < Rails::Railtie
      initializer 'partiarelic.rails_middleware' do |app|
        app.middleware.use Partiarelic::Middleware, path: '/_newrelic/manual_start'
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
partiarelic-0.1.2 lib/partiarelic/rails.rb
partiarelic-0.1.1 lib/partiarelic/rails.rb
partiarelic-0.1.0 lib/partiarelic/rails.rb