Sha256: cdee4e1a01bbcac6f0bd38244fc292e918b2371dc276965b119e0079825833b3
Contents?: true
Size: 437 Bytes
Versions: 19
Compression:
Stored size: 437 Bytes
Contents
require "cmor/core/feature" 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
19 entries across 19 versions & 1 rubygems