Module: TableSync
- Extended by:
- Memery
- Defined in:
- lib/table_sync.rb,
lib/table_sync/dsl.rb,
lib/table_sync/config.rb,
lib/table_sync/errors.rb,
lib/table_sync/version.rb,
lib/table_sync/event_actions.rb,
lib/table_sync/config_decorator.rb
Defined Under Namespace
Modules: DSL, EventActions, Instrument, InstrumentAdapter, Model, NamingResolver, ORMAdapter Classes: BasePublisher, BatchPublisher, Config, ConfigDecorator, DestroyError, Publisher, ReceivingHandler, UndefinedConfig, UnprovidedEventTargetKeysError, UpsertError
Constant Summary collapse
- Error =
Class.new(StandardError)
- VERSION =
"2.1.0"
Class Attribute Summary collapse
-
.batch_publishing_job_class_callable ⇒ Object
Returns the value of attribute batch_publishing_job_class_callable.
-
.exchange_name ⇒ Object
Returns the value of attribute exchange_name.
-
.notifier ⇒ Object
Returns the value of attribute notifier.
-
.publishing_job_class_callable ⇒ Object
Returns the value of attribute publishing_job_class_callable.
-
.routing_key_callable ⇒ Object
Returns the value of attribute routing_key_callable.
-
.routing_metadata_callable ⇒ Object
Returns the value of attribute routing_metadata_callable.
Class Method Summary collapse
Class Attribute Details
.batch_publishing_job_class_callable ⇒ Object
Returns the value of attribute batch_publishing_job_class_callable.
35 36 37 |
# File 'lib/table_sync.rb', line 35 def batch_publishing_job_class_callable @batch_publishing_job_class_callable end |
.exchange_name ⇒ Object
Returns the value of attribute exchange_name.
37 38 39 |
# File 'lib/table_sync.rb', line 37 def exchange_name @exchange_name end |
.notifier ⇒ Object
Returns the value of attribute notifier.
39 40 41 |
# File 'lib/table_sync.rb', line 39 def notifier @notifier end |
.publishing_job_class_callable ⇒ Object
Returns the value of attribute publishing_job_class_callable.
34 35 36 |
# File 'lib/table_sync.rb', line 34 def publishing_job_class_callable @publishing_job_class_callable end |
.routing_key_callable ⇒ Object
Returns the value of attribute routing_key_callable.
36 37 38 |
# File 'lib/table_sync.rb', line 36 def routing_key_callable @routing_key_callable end |
.routing_metadata_callable ⇒ Object
Returns the value of attribute routing_metadata_callable.
38 39 40 |
# File 'lib/table_sync.rb', line 38 def @routing_metadata_callable end |
Class Method Details
.orm=(val) ⇒ Object
45 46 47 48 |
# File 'lib/table_sync.rb', line 45 def orm=(val) clear_memery_cache! @orm = val end |
.sync(*args) ⇒ Object
41 42 43 |
# File 'lib/table_sync.rb', line 41 def sync(*args) orm.setup_sync(*args) end |