Module: RESTFramework::Mixins::ModelControllerMixin

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

Overview

Mixin that includes all the CRUD mixins.

Constant Summary

Constants included from BaseModelControllerMixin

BaseModelControllerMixin::ACTIVESTORAGE_KEYS, BaseModelControllerMixin::BASE64_REGEX, BaseModelControllerMixin::BASE64_TRANSLATE, BaseModelControllerMixin::RRF_BASE_MODEL_CONFIG

Constants included from BaseControllerMixin

BaseControllerMixin::RRF_BASE_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

#bulk_serialize, #get_allowed_parameters, #get_body_params, #get_create_from, #get_fields, #get_record, #get_records, #get_recordset, #get_serializer_class, #openapi_metadata

Methods included from BaseControllerMixin

#get_serializer_class, #openapi_metadata, #options, #render_api, #root, #route_groups, #rrf_error_handler, #serialize

Class Method Details

.included(base) ⇒ Object



787
788
789
# File 'lib/rest_framework/mixins/model_controller_mixin.rb', line 787

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