Module: RESTFramework::BulkDestroyModelMixin
- Included in:
- BulkModelControllerMixin
- Defined in:
- lib/rest_framework/controller_mixins/bulk.rb
Overview
Mixin for destroying records in bulk.
Instance Method Summary collapse
- #destroy_all ⇒ Object
-
#destroy_all! ⇒ Object
Perform the ‘destroy!` call and return the destroyed (and frozen) record.
Instance Method Details
#destroy_all ⇒ Object
30 31 32 |
# File 'lib/rest_framework/controller_mixins/bulk.rb', line 30 def destroy_all raise NotImplementedError, "TODO" end |
#destroy_all! ⇒ Object
Perform the ‘destroy!` call and return the destroyed (and frozen) record.
35 36 37 |
# File 'lib/rest_framework/controller_mixins/bulk.rb', line 35 def destroy_all! raise NotImplementedError, "TODO" end |