Module: RESTFramework::ShowModelMixin
- Included in:
- ModelControllerMixin, ReadOnlyModelControllerMixin
- Defined in:
- lib/rest_framework/controller_mixins/models.rb
Overview
Mixin for showing records.
Instance Method Summary collapse
Instance Method Details
#show ⇒ Object
440 441 442 |
# File 'lib/rest_framework/controller_mixins/models.rb', line 440 def show return api_response(self.get_record) end |