Class: ActivePropagation::AsyncLoopDeletor

Inherits:
Object
  • Object
show all
Includes:
PropagaterHelper, Sidekiq::Worker
Defined in:
lib/active_propagation.rb

Instance Method Summary collapse

Methods included from PropagaterHelper

#propagated_attributes

Instance Method Details

#perform(assoc_klass_str, assoc_id) ⇒ Object



53
54
55
# File 'lib/active_propagation.rb', line 53

def perform(assoc_klass_str, assoc_id)
  assoc_klass_str.constantize.find(assoc_id).destroy
end