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
693 694 695 |
# File 'lib/rest_framework/controller_mixins/models.rb', line 693 def show return api_response(self.get_record) end |