Module: RESTFramework::ShowModelMixin

Included in:
ModelControllerMixin, ReadOnlyModelControllerMixin
Defined in:
lib/rest_framework/controllers/models.rb

Instance Method Summary collapse

Instance Method Details

#showObject



159
160
161
162
# File 'lib/rest_framework/controllers/models.rb', line 159

def show
  @record = self.get_record
  api_response(@record)
end