Module: GlobalRegistry::Bindings::Model::DeleteEntity
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/global_registry_bindings/model/delete_entity.rb
Instance Method Summary collapse
Instance Method Details
#delete_entity_from_global_registry_async ⇒ Object
15 16 17 18 19 20 |
# 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 |