Module: RESTFramework::Mixins::ShowModelMixin
- Included in:
- ModelControllerMixin, ReadOnlyModelControllerMixin
- Defined in:
- lib/rest_framework/mixins/model_controller_mixin.rb
Overview
Mixin for showing records.
Instance Method Summary collapse
Instance Method Details
#show ⇒ Object
655 656 657 |
# File 'lib/rest_framework/mixins/model_controller_mixin.rb', line 655 def show return api_response(self.get_record) end |