Class: V1::Pacbio::TubeResource
- Inherits:
-
JSONAPI::Resource
- Object
- JSONAPI::Resource
- V1::Pacbio::TubeResource
- Defined in:
- app/resources/v1/pacbio/tube_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/pacbio/tubes/
endpoint.
Provides a JSON:API representation of Tube.
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.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#barcode ⇒ String
The barcode of the tube.
Class Method Summary collapse
Instance Attribute Details
#barcode ⇒ String
Returns the barcode of the tube.
21 |
# File 'app/resources/v1/pacbio/tube_resource.rb', line 21 attributes :barcode |
Class Method Details
.records(_options = {}) ⇒ Object
33 34 35 |
# File 'app/resources/v1/pacbio/tube_resource.rb', line 33 def self.records( = {}) ::Tube.by_pipeline(:pacbio) end |