Sha256: 39f418501e08ec768e5945532fb482a714b96323d45fda57876e3d208d463e96
Contents?: true
Size: 556 Bytes
Versions: 12
Compression:
Stored size: 556 Bytes
Contents
# frozen_string_literal: true module GlobalRegistry #:nodoc: module Bindings #:nodoc: module Workers #:nodoc: class DeleteEntityWorker < ::GlobalRegistry::Bindings::Worker sidekiq_options unique: :until_executed 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 end end end end
Version data entries
12 entries across 12 versions & 1 rubygems