Module: Replication::Model
- Defined in:
- lib/replication/process.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(model_class) ⇒ Object
42 43 44 |
# File 'lib/replication/process.rb', line 42 def self.included(model_class) return if model_class.respond_to?(:can_replicate) end |
Instance Method Details
#replication_config ⇒ Object
50 51 52 |
# File 'lib/replication/process.rb', line 50 def replication_config self.class.replication_config end |
#strand_class ⇒ Object
46 47 48 |
# File 'lib/replication/process.rb', line 46 def strand_class replication_config.strand_class end |