class GlobalRegistry::Bindings::Workers::DeleteEntityWorker
Public Instance Methods
perform(global_registry_id)
click to toggle source
# File lib/global_registry_bindings/workers/delete_entity_worker.rb, line 9 def perform(global_registry_id) return unless global_registry_id GlobalRegistry::Entity.delete(global_registry_id) rescue RestClient::ResourceNotFound # rubocop:disable Lint/HandleExceptions # If the record doesn't exist, we don't care end