Class: Synchronisable::Worker::Base Private

Inherits:
Object
  • Object
show all
Includes:
Helper::Logging
Defined in:
lib/synchronisable/worker/base.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Base class for synchronization workers.

See Also:

Direct Known Subclasses

Associations, Record

Instance Method Summary collapse

Constructor Details

#initialize(synchronizer, source) ⇒ Base

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of Base.


14
15
16
17
# File 'lib/synchronisable/worker/base.rb', line 14

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

Instance Method Details

#loggerObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.


19
20
21
# File 'lib/synchronisable/worker/base.rb', line 19

def logger
  @synchronizer.logger
end