method

new

rails latest stable - Class: ActionDispatch::RemoteIp::RemoteIpGetter

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.1.0) is shown here.

new(env, check_ip_spoofing, trusted_proxies)
public

No documentation available.

# 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