Module: RESTFramework::ListModelMixin
- Included in:
- ModelControllerMixin, ReadOnlyModelControllerMixin
- Defined in:
- lib/rest_framework/controllers/models.rb
Instance Method Summary collapse
-
#index ⇒ Object
TODO: pagination classes like Django.
Instance Method Details
#index ⇒ Object
TODO: pagination classes like Django
153 154 155 156 |
# File 'lib/rest_framework/controllers/models.rb', line 153 def index @records = self.get_filtered_recordset api_response(@records, **self.get_model_serializer_config) end |