class GlobalRegistry::Bindings::Workers::PushEntityWorker

Public Instance Methods

perform(model_class, id) click to toggle source
# File lib/global_registry_bindings/workers/push_entity_worker.rb, line 15
def perform(model_class, id)
  super model_class, id
  push_entity_to_global_registry
rescue ActiveRecord::RecordNotFound # rubocop:disable Lint/HandleExceptions
  # If the record was deleted after the job was created, swallow it
end