Module: Isimud::ModelWatcher
Overview
ActiveModel mixin for sending model updates to a message server.
Defined Under Namespace
Modules: ClassMethods
Constant Summary collapse
- DEFAULT_EXCHANGE =
'models'
- IGNORED_COLUMNS =
%w{id}
Instance Method Summary collapse
- #isimud_sync ⇒ Object
-
#isimud_synchronize? ⇒ Boolean
Override to set conditions for synchronizing this instance with the server (default is always).
Methods included from Logging
Instance Method Details
#isimud_sync ⇒ Object
82 83 84 |
# File 'lib/isimud/model_watcher.rb', line 82 def isimud_sync (:update) end |
#isimud_synchronize? ⇒ Boolean
Override to set conditions for synchronizing this instance with the server (default is always)
78 79 80 |
# File 'lib/isimud/model_watcher.rb', line 78 def isimud_synchronize? true end |