Sha256: 449522c52d5fdfd8b664b4b4bbd6a6f5462386e26485c41f34183b6953dd2b2f
Contents?: true
Size: 409 Bytes
Versions: 37
Compression:
Stored size: 409 Bytes
Contents
require "cmor/core/configuration" require "cmor/core/engine" module Cmor module Core extend Configuration module RemoteIpConcern extend ActiveSupport::Concern class_methods do def remote_ip RequestLocals.fetch(:remote_ip) { nil } end end end include RemoteIpConcern end end Cmor.configure { |c| c.register_configuration(:core, Cmor::Core) }
Version data entries
37 entries across 37 versions & 1 rubygems