lib/filbunke/client.rb in filbunke-1.8.1 vs lib/filbunke/client.rb in filbunke-1.8.2

- old
+ new

@@ -1,21 +1,22 @@ module Filbunke class Client - attr_reader :repository + attr_reader :repository, :run_every UPDATES_ACTION = 'updates' FILES_ACTION = 'files' LAST_CHECKPOINT_ACTION = 'last_checkpoint' TOUCH_ACTION = 'touch' URL_KEY = 'url' FROM_CHECKPOINT_KEY = 'from_checkpoint' HASH_KEY = 'hash' - def initialize(repository, logger, callbacks = [], failed_request_log_file_name = nil) + def initialize(repository, logger, run_every, callbacks = [], failed_request_log_file_name = nil) @repository = repository @logger = logger + @run_every = run_every @callbacks = callbacks @failed_request_log_file_name = failed_request_log_file_name end def with_updated_files(last_checkpoint)