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
151 152 153 154 |
# File 'lib/rest_framework/controllers/models.rb', line 151 def index @records = self.get_filtered_recordset api_response(@records) end |