Module: RESTFramework::BulkModelControllerMixin

Includes:
BulkCreateModelMixin, BulkDestroyModelMixin, BulkUpdateModelMixin, ModelControllerMixin
Defined in:
lib/rest_framework/controller_mixins/bulk.rb

Overview

Mixin that includes all the CRUD bulk mixins.

Constant Summary

Constants included from BaseModelControllerMixin

RESTFramework::BaseModelControllerMixin::BASE64_REGEX, RESTFramework::BaseModelControllerMixin::BASE64_TRANSLATE, RESTFramework::BaseModelControllerMixin::RRF_BASE_MODEL_CONFIG, RESTFramework::BaseModelControllerMixin::RRF_BASE_MODEL_INSTANCE_CONFIG

Constants included from BaseControllerMixin

RESTFramework::BaseControllerMixin::RRF_BASE_CONFIG, RESTFramework::BaseControllerMixin::RRF_BASE_INSTANCE_CONFIG

Class Method Summary collapse

Methods included from BulkDestroyModelMixin

#destroy_all, #destroy_all!

Methods included from BulkUpdateModelMixin

#update_all, #update_all!

Methods included from BulkCreateModelMixin

#create, #create_all!, #get_options_metadata

Methods included from DestroyModelMixin

#destroy, #destroy!

Methods included from UpdateModelMixin

#update, #update!

Methods included from CreateModelMixin

#create, #create!

Methods included from ShowModelMixin

#show

Methods included from ListModelMixin

#get_index_records, #index

Methods included from BaseModelControllerMixin

#bulk_serialize, #get_allowed_parameters, #get_body_params, #get_create_from, #get_fields, #get_filter_backends, #get_options_metadata, #get_record, #get_records, #get_recordset, #get_recordset_with_includes, #get_serializer_class

Methods included from BaseControllerMixin

#api_response, #get_filter_backends, #get_filtered_data, #get_options_metadata, #get_serializer_class, #options, #root, #rrf_error_handler, #serialize

Class Method Details

.included(base) ⇒ Object



94
95
96
# File 'lib/rest_framework/controller_mixins/bulk.rb', line 94

def self.included(base)
  RESTFramework::ModelControllerMixin.included(base)
end