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
60 61 62 |
# File 'lib/rest_framework/controller_mixins/bulk.rb', line 60 def destroy_all raise NotImplementedError, "TODO" end |
#destroy_all! ⇒ Object
Perform the ‘destroy!` call and return the destroyed (and frozen) record.
65 66 67 |
# File 'lib/rest_framework/controller_mixins/bulk.rb', line 65 def destroy_all! raise NotImplementedError, "TODO" end |