Sha256: 74d4ae1a44c593a6f4e4b3a3b4c1e330e62743b7188a8a79fb906d858a2600d6

Contents?: true

Size: 317 Bytes

Versions: 23

Compression:

Stored size: 317 Bytes

Contents

module MyApi
  class Railtie < Rails::Railtie

    initializer "my_api.log_runtime" do |app|
      require 'my_api/rails/log_subscriber'
      ActiveSupport.on_load(:action_controller) do
        include NCore::ControllerRuntime
        register_api_runtime MyApi::LogSubscriber, 'MyApi'
      end
    end

  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
ncore-2.3.3 example/lib/my_api/rails/railtie.rb
ncore-2.3.2 example/lib/my_api/rails/railtie.rb
ncore-2.3.1 example/lib/my_api/rails/railtie.rb
ncore-2.3.0 example/lib/my_api/rails/railtie.rb
ncore-2.2.2 example/lib/my_api/rails/railtie.rb
ncore-2.2.1 example/lib/my_api/rails/railtie.rb
ncore-2.2.0 example/lib/my_api/rails/railtie.rb
ncore-2.1.2 example/lib/my_api/rails/railtie.rb
ncore-2.1.1 example/lib/my_api/rails/railtie.rb
ncore-2.1.0 example/lib/my_api/rails/railtie.rb
ncore-2.0.8 example/lib/my_api/rails/railtie.rb
ncore-2.0.7 example/lib/my_api/rails/railtie.rb
ncore-2.0.6 example/lib/my_api/rails/railtie.rb
ncore-2.0.5 example/lib/my_api/rails/railtie.rb
ncore-2.0.4 example/lib/my_api/rails/railtie.rb
ncore-2.0.3 example/lib/my_api/rails/railtie.rb
ncore-2.0.2 example/lib/my_api/rails/railtie.rb
ncore-2.0.1 example/lib/my_api/rails/railtie.rb
ncore-2.0.0 example/lib/my_api/rails/railtie.rb
ncore-1.2.1 example/lib/my_api/rails/railtie.rb