Class: V1::QcAssayTypeResource

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

Overview

Note:

Access this resource via the /v1/qc_assay_types endpoint.

Provides a JSON:API representation of QcAssayType.

QcAssayTypeResource exposes valid qc assay type options for use by the UI. A QC Assay is a standard assay which is used to carry out QC e.g. “DNA vol (ul)”

Examples:

curl -X GET http://localhost:3100/v1/qc_assay_types/
curl -X GET http://localhost:3100/v1/qc_assay_types/1

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

Returns the key of the QC assay type.

Returns:

  • (String)

    the key of the QC assay type



22
# File 'app/resources/v1/qc_assay_type_resource.rb', line 22

attributes :key, :label, :units

#labelString

Returns the label of the QC assay type.

Returns:

  • (String)

    the label of the QC assay type



22
# File 'app/resources/v1/qc_assay_type_resource.rb', line 22

attributes :key, :label, :units

#unitsString

Returns the units of the QC assay type.

Returns:

  • (String)

    the units of the QC assay type



22
# File 'app/resources/v1/qc_assay_type_resource.rb', line 22

attributes :key, :label, :units