Sha256: 8d03c1fe65e7776f7c2e02cbf4aba254304070ee6a1f8e3f65fe7043a5b097f6
Contents?: true
Size: 513 Bytes
Versions: 8
Compression:
Stored size: 513 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) 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
8 entries across 8 versions & 1 rubygems