Sha256: 8567ab7a5695eef7a18202f87a254364213be83f27e35b6065e8fd9aaf96fc41
Contents?: true
Size: 400 Bytes
Versions: 11
Compression:
Stored size: 400 Bytes
Contents
module MyApi class Railtie < Rails::Railtie config.after_initialize do MyApi::Api.cache_store = Rails.cache end 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
11 entries across 11 versions & 1 rubygems