method
new
rails latest stable - Class:
ActionDispatch::RemoteIp::RemoteIpGetter
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