Class: V1::QcResultResource

Inherits:
JSONAPI::Resource
  • Object
show all
Defined in:
app/resources/v1/qc_result_resource.rb

Overview

TODO:

This documentation does not yet include a detailed description of what this resource represents.

TODO:

This documentation does not yet include detailed descriptions for relationships, attributes and filters.

TODO:

This documentation does not yet include any example usage of the API via cURL or similar.

Note:

Access this resource via the /v1/qc_results endpoint.

Provides a JSON:API representation of QcResult and exposes valid qc result for use by the UI.

For more information about JSON:API see the JSON:API Specifications or look at the JSONAPI::Resources package for the service implementation of the JSON:API standard.

Instance Attribute Summary collapse

Instance Attribute Details

#labware_barcodeString

Returns the barcode of the labware.

Returns:

  • (String)

    the barcode of the labware



23
# File 'app/resources/v1/qc_result_resource.rb', line 23

attributes :labware_barcode, :sample_external_id, :value

#sample_external_idString

Returns the external ID of the sample.

Returns:

  • (String)

    the external ID of the sample



23
# File 'app/resources/v1/qc_result_resource.rb', line 23

attributes :labware_barcode, :sample_external_id, :value

#valueString

Returns the value of the QC result.

Returns:

  • (String)

    the value of the QC result



23
# File 'app/resources/v1/qc_result_resource.rb', line 23

attributes :labware_barcode, :sample_external_id, :value