Module: GlobalRegistry::Bindings::Model::PushEntity
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/global_registry_bindings/model/push_entity.rb
Instance Method Summary collapse
Instance Method Details
#push_entity_to_global_registry_async ⇒ Object
15 16 17 18 19 |
# File 'lib/global_registry_bindings/model/push_entity.rb', line 15 def push_entity_to_global_registry_async return if global_registry_entity.condition?(:if) return unless global_registry_entity.condition?(:unless) ::GlobalRegistry::Bindings::Workers::PushEntityWorker.perform_async(self.class.to_s, id) end |