class method self.new

Ruby on Rails 3.1.12

Since v3.0.20 Last seen in v3.1.12

Available in: v3.0.20 v3.1.12

Signature

self.new(env, check_ip_spoofing, trusted_proxies)

No documentation comment.

Parameters

env req
check_ip_spoofing req
trusted_proxies req
Source
# File actionpack/lib/action_dispatch/middleware/remote_ip.rb, line 6
      def initialize(env, check_ip_spoofing, trusted_proxies)
        @env = env
        @check_ip_spoofing = check_ip_spoofing
        @trusted_proxies = trusted_proxies
      end

Defined in actionpack/lib/action_dispatch/middleware/remote_ip.rb line 6 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionDispatch::RemoteIp::RemoteIpGetter

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close