Sha256: f60f1b6f95b56d0f738e92e2e13586c63c27c5e730a0620aac26e8815e1eb91c
Contents?: true
Size: 559 Bytes
Versions: 4
Compression:
Stored size: 559 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
4 entries across 4 versions & 1 rubygems