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-1.2.0 | example/lib/my_api/rails/railtie.rb |
ncore-1.1.0 | example/lib/my_api/rails/railtie.rb |
ncore-1.0.0 | example/lib/my_api/rails/railtie.rb |