module GlobalRegistry::Bindings::Model::DeleteEntity

Public Instance Methods

delete_entity_from_global_registry_async() click to toggle source
# File lib/global_registry_bindings/model/delete_entity.rb, line 15
def delete_entity_from_global_registry_async
  return unless global_registry_entity.id_value?
  return if global_registry_entity.condition?(:if)
  return unless global_registry_entity.condition?(:unless)
  ::GlobalRegistry::Bindings::Workers::DeleteEntityWorker.perform_async(global_registry_entity.id_value)
end