Module: RESTFramework::ModelControllerMixin
- Includes:
- BaseModelControllerMixin, CreateModelMixin, DestroyModelMixin, ListModelMixin, ShowModelMixin, UpdateModelMixin
- Defined in:
- lib/rest_framework/controller_mixins/models.rb
Overview
Mixin that includes all the CRUD mixins.
Class Method Summary collapse
Methods included from DestroyModelMixin
Methods included from UpdateModelMixin
Methods included from CreateModelMixin
Methods included from ShowModelMixin
Methods included from ListModelMixin
Methods included from BaseModelControllerMixin
#_get_specific_action_config, #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_serializer_class
Methods included from BaseControllerMixin
#api_response, #get_filter_backends, #get_filtered_data, #get_options_metadata, #get_serializer_class, #options, #record_invalid, #record_not_destroyed, #record_not_found, #record_not_saved, #root, #serialize, #unknown_attribute_error
Class Method Details
.included(base) ⇒ Object
456 457 458 459 460 |
# File 'lib/rest_framework/controller_mixins/models.rb', line 456 def self.included(base) return unless base.is_a?(Class) RESTFramework::BaseModelControllerMixin.included(base) end |