Class: V1::Ont::PlateResource
- Inherits:
-
JSONAPI::Resource
- Object
- JSONAPI::Resource
- V1::Ont::PlateResource
- Defined in:
- app/resources/v1/ont/plate_resource.rb
Overview
Note:
Access this resource via the /v1/ont/plates/ endpoint.
Provides a JSON:API representation of Plate.
Filters: * barcode - Filter plates by their barcode.
Primary relationships: * wells WellResource - The wells contained in the plate.
Instance Attribute Summary collapse
-
#barcode ⇒ String
The barcode of the plate.
-
#created_at ⇒ String
readonly
The creation timestamp of the plate.
Class Method Summary collapse
Instance Attribute Details
#barcode ⇒ String
Returns the barcode of the plate.
25 |
# File 'app/resources/v1/ont/plate_resource.rb', line 25 attributes :barcode |
#created_at ⇒ String (readonly)
Returns the creation timestamp of the plate.
29 |
# File 'app/resources/v1/ont/plate_resource.rb', line 29 attributes :created_at, readonly: true |
Class Method Details
.records(_options = {}) ⇒ Object
38 39 40 |
# File 'app/resources/v1/ont/plate_resource.rb', line 38 def self.records( = {}) super.by_pipeline(:ont) end |