class CopyTunerClient::RequestSync
def initialize(app, options)
(**options)
-
:cache
(Cache
) -- agent that should be flushed after each request
Parameters:
-
options
(Hash
) -- -
app
(Rack
) -- the upstream app into whose responses to inject the editor
def initialize(app, options) @app = app @poller = options[:poller] @cache = options[:cache] @interval = options[:interval] @ignore_regex = options[:ignore_regex] @last_synced = options[:last_synced] @first = true end