Sha256: 0db0b12d703951c567cb0368191c92baf6443c184bda7b69d779b1a5f96ef08c

Contents?: true

Size: 510 Bytes

Versions: 27

Compression:

Stored size: 510 Bytes

Contents

require 'synchronisable/helper/logging'

module Synchronisable
  module Worker
    # Base class for synchronization workers.
    #
    # @see Synchronisable::Worker::Record
    # @see Synchronisable::Worker::Associations
    #
    # @api private
    class Base
      include Helper::Logging

      def initialize(synchronizer, source)
        @synchronizer, @source = synchronizer, source
        @includes = source.includes
      end

      def logger
        @synchronizer.logger
      end
    end
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
synchronisable-1.3.1 lib/synchronisable/worker/base.rb
synchronisable-1.3.0 lib/synchronisable/worker/base.rb
synchronisable-1.2.7 lib/synchronisable/worker/base.rb
synchronisable-1.2.6 lib/synchronisable/worker/base.rb
synchronisable-1.2.5 lib/synchronisable/worker/base.rb
synchronisable-1.2.4 lib/synchronisable/worker/base.rb
synchronisable-1.2.3 lib/synchronisable/worker/base.rb
synchronisable-1.2.2 lib/synchronisable/worker/base.rb
synchronisable-1.2.1 lib/synchronisable/worker/base.rb
synchronisable-1.2.0 lib/synchronisable/worker/base.rb
synchronisable-1.1.9 lib/synchronisable/worker/base.rb
synchronisable-1.1.8 lib/synchronisable/worker/base.rb
synchronisable-1.1.7 lib/synchronisable/worker/base.rb
synchronisable-1.1.6 lib/synchronisable/worker/base.rb
synchronisable-1.1.5 lib/synchronisable/worker/base.rb
synchronisable-1.1.4 lib/synchronisable/worker/base.rb
synchronisable-1.1.3 lib/synchronisable/worker/base.rb
synchronisable-1.1.2 lib/synchronisable/worker/base.rb
synchronisable-1.1.1 lib/synchronisable/worker/base.rb
synchronisable-1.1.0 lib/synchronisable/worker/base.rb