Module: RESTFramework::ModelControllerMixin

Includes:
BaseModelControllerMixin, CreateModelMixin, DestroyModelMixin, ListModelMixin, ShowModelMixin, UpdateModelMixin
Included in:
BulkModelControllerMixin
Defined in:
lib/rest_framework/controller_mixins/models.rb

Overview

Mixin that includes all the CRUD mixins.

Constant Summary

Constants included from BaseModelControllerMixin

BaseModelControllerMixin::RRF_BASE_MODEL_CONTROLLER_CONFIG

Constants included from BaseControllerMixin

BaseControllerMixin::RRF_BASE_CONTROLLER_CONFIG

Class Method Summary collapse

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

#_get_specific_action_config, _rrf_bulk_transaction, #get_allowed_parameters, #get_body_params, #get_fields, #get_filter_backends, #get_find_by_fields, #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



646
647
648
# File 'lib/rest_framework/controller_mixins/models.rb', line 646

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