module GlobalRegistry::Bindings::Model::PushEntity

Public Instance Methods

push_entity_to_global_registry_async() click to toggle source
# 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, id)
end