Sha256: 4c2bb88726cdba287b464ca8f023ba05fb0280fb8784ce12fbcaade9f8b28924
Contents?: true
Size: 680 Bytes
Versions: 2
Compression:
Stored size: 680 Bytes
Contents
module RequestLogAnalyzer::Filter # Base filter class used to filter input requests. # All filters should interit from this base. class Base attr_reader :file_format, :options # Initializer # <tt>format</tt> The file format # <tt>options</tt> Are passed to the filters. def initialize(format, options = {}) @file_format = format @options = options end # Return the request if the request should be kept. # Return nil otherwise. def filter(request) request end end end require 'request_log_analyzer/filter/field' require 'request_log_analyzer/filter/timespan' require 'request_log_analyzer/filter/anonymize'
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
request-log-analyzer-1.13.4 | lib/request_log_analyzer/filter.rb |
request-log-analyzer-1.13.3 | lib/request_log_analyzer/filter.rb |