Sha256: 8ce67f7fa2bdaceae781ed5df6a3edf1a23c967591754911b347a8c9f4666212
Contents?: true
Size: 679 Bytes
Versions: 10
Compression:
Stored size: 679 Bytes
Contents
module Filbunke class Callbacks def initialize(logger, config = {}) @config = config @logger = logger end def on_update_batch(files) files.each do |item| on_update(item.file, item.local_file_path) end end def on_update(file, local_file_path) end def on_no_change_batch(files) files.each do |item| on_no_change(item.file, item.local_file_path) end end def on_no_change(file, local_file_path) end def on_delete_batch(files) files.each do |item| on_delete(item.file, item.local_file_path) end end def on_delete(file, local_file_path) end end end
Version data entries
10 entries across 10 versions & 1 rubygems