class WebConsole::Request::GetSecureIp - web-console-2.1.3 Documentation

# class WebConsole::Request::GetSecureIp

### Public Class Methods

new(env, proxies) click to toggle source

    # File lib/web_console/request.rb, line 36
    def initialize(env, proxies)
      @env      = env
      @check_ip = true
      @proxies  = proxies
    end

### Public Instance Methods

filter_proxies(ips) click to toggle source

    # File lib/web_console/request.rb, line 42
    def filter_proxies(ips)
      ips.reject do |ip|
        @proxies.include?(ip)
      end
    end