lib/table_sync.rb in table_sync-2.2.0 vs lib/table_sync.rb in table_sync-2.3.0
- old
+ new
@@ -41,11 +41,11 @@
attr_accessor :routing_key_callable
attr_accessor :exchange_name
attr_accessor :routing_metadata_callable
attr_accessor :notifier
- def sync(*args)
- orm.setup_sync(*args)
+ def sync(klass, **opts)
+ orm.setup_sync(klass, opts)
end
def orm=(val)
clear_memery_cache!
@orm = val