Class: Morpho::Operations::Base::Delete
- Defined in:
- app/concepts/morpho/operations/base/delete.rb
Overview
Base delete operation
Instance Method Summary collapse
Methods inherited from Find
#build_model!, #model_class!, #params!, #present!, #presenter_class!
Instance Method Details
#destroy!(options, model:) ⇒ Object
10 11 12 |
# File 'app/concepts/morpho/operations/base/delete.rb', line 10 def destroy!(, model:, **) model.destroy end |