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