Class: ActivePropagation::AsyncLoopDeletor
- Inherits:
-
Object
- Object
- ActivePropagation::AsyncLoopDeletor
- Includes:
- PropagaterHelper, Sidekiq::Worker
- Defined in:
- lib/active_propagation.rb
Instance Method Summary collapse
Methods included from PropagaterHelper
Instance Method Details
#perform(assoc_klass_str, assoc_id) ⇒ Object
61 62 63 64 65 66 |
# File 'lib/active_propagation.rb', line 61 def perform(assoc_klass_str, assoc_id) a = assoc_klass_str.constantize.find_by(id: assoc_id) if a a.destroy end end |