Class: V1::Pacbio::TubeResource

Inherits:
JSONAPI::Resource
  • Object
show all
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

Runs::TubeResource

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#barcodeString

Returns the barcode of the tube.

Returns:

  • (String)

    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(_options = {})
  ::Tube.by_pipeline(:pacbio)
end