vendor/bundle/ruby/2.3.0/gems/sqreen-1.10.5/lib/sqreen/frameworks/generic.rb
# Return the current item that whitelist this request
# returns nil if request is not whitelisted
Return the current item that whitelist this request
returns nil if request is not whitelisted
Return the current item that whitelist this request returns nil if request is not whitelisted
def whitelisted_match
        return nil unless request
        return request.env[WHITELIST_KEY] if request.env.key?(WHITELIST_KEY)
        request.env[WHITELIST_KEY] = whitelisted_ip || whitelisted_path
      end
def whitelisted_match return nil unless request return request . env [ WHITELIST_KEY ] if request . env . key? ( WHITELIST_KEY ) request . env [ WHITELIST_KEY ] = whitelisted_ip || whitelisted_path end
Return the current item that whitelist this request
returns nil if request is not whitelisted
Return the current item that whitelist this request returns nil if request is not whitelisted