Sha256: 308dc4d29862ca5a2294320740c9b5701bb4d40d591d112fcd869d7fc5d2a975
Contents?: true
Size: 333 Bytes
Versions: 23
Compression:
Stored size: 333 Bytes
Contents
# frozen_string_literal: true module Typhoeus # Custom Response class class Response # @note: Ignores requests done to the /status endpoint of the API # # @return [ Boolean ] def from_vuln_api? effective_url.start_with?(WPScan::DB::VulnApi.uri.to_s) && !effective_url.include?('/status') end end end
Version data entries
23 entries across 23 versions & 1 rubygems