Module: RESTFramework::Mixins::BulkModelControllerMixin
- Defined in:
- lib/rest_framework/mixins/bulk_model_controller_mixin.rb
Overview
Mixin that includes all the CRUD bulk mixins.
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
39 40 41 42 43 44 45 46 47 48 |
# File 'lib/rest_framework/mixins/bulk_model_controller_mixin.rb', line 39 def self.included(base) RESTFramework.deprecator.warn(<<~TXT).squish BulkModelControllerMixin is deprecated; use RESTFramework::Controller and set the `model` and `bulk = true` class attributes instead. TXT base.include(RESTFramework::Controller) base.model = RESTFramework::Utils.get_model(base) base.bulk = true end |