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

#showObject



570
571
572
# File 'lib/rest_framework/controller_mixins/models.rb', line 570

def show
  return api_response(self.get_record)
end