Module: RESTFramework::Mixins::ReadOnlyModelControllerMixin

Includes:
BaseModelControllerMixin, ListModelMixin, ShowModelMixin
Defined in:
lib/rest_framework/mixins/model_controller_mixin.rb

Overview

Mixin that includes show/list mixins.

Constant Summary

Constants included from BaseModelControllerMixin

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

Constants included from BaseControllerMixin

BaseControllerMixin::RRF_BASE_CONFIG, BaseControllerMixin::RRF_BASE_INSTANCE_CONFIG

Class Method Summary collapse

Methods included from ShowModelMixin

#show

Methods included from ListModelMixin

#get_index_records, #index

Methods included from BaseModelControllerMixin

#apply_filters, #bulk_serialize, #get_allowed_parameters, #get_body_params, #get_create_from, #get_fields, #get_record, #get_records, #get_recordset, #options_metadata, #serializer_class

Methods included from BaseControllerMixin

#api_response, #options, #options_metadata, #root, #rrf_error_handler, #serialize, #serializer_class

Class Method Details

.included(base) ⇒ Object



738
739
740
# File 'lib/rest_framework/mixins/model_controller_mixin.rb', line 738

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