Sha256: 49acdc0eb193ef8dadfc0d38d97009549e4816d93090140719afc302e5d7f5bc
Contents?: true
Size: 568 Bytes
Versions: 1
Compression:
Stored size: 568 Bytes
Contents
require 'active_support/configurable' # config file module RailsMiddlewareLog # Configures global settings # RailsMiddlewareLog.configure do |config| # config.logger = Logger.new # end def self.configure(&_block) yield @config ||= RailsMiddlewareLog::Configuration.new end # Global settings def self.config @config || configure { |config| config } end # need a Class for 3.0 class Configuration #:nodoc: include ActiveSupport::Configurable config_accessor(:target_urls) config_accessor(:before_middleware) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rails_middleware_log-0.1.0 | lib/rails_middleware_log/config.rb |