Class: V1::Pacbio::LibraryBatchResource
- Inherits:
-
JSONAPI::Resource
- Object
- JSONAPI::Resource
- V1::Pacbio::LibraryBatchResource
- Defined in:
- app/resources/v1/pacbio/library_batch_resource.rb
Overview
Note:
Access this resource via the /v1/pacbio/library_batches/ endpoint. To return the libraries created, add libraries to the include. To return the created libraries tubes add libraries.tube to the include. For example /v1/pacbio/library_batches?include=libraries.tube
Provides a JSON:API representation of Pacbio::LibraryBatch.
This resource is used to create batches of libraries in one go. This resource can only be accessed via a POST request to the library_batches endpoint.
Instance Attribute Summary collapse
-
#created_at ⇒ String
readonly
The creation time of the library.
-
#libraries_attributes ⇒ Array
writeonly
The attributes of the libraries.
Instance Method Summary collapse
Instance Attribute Details
#created_at ⇒ String (readonly)
Returns the creation time of the library.
48 |
# File 'app/resources/v1/pacbio/library_batch_resource.rb', line 48 attributes :created_at, :libraries_attributes |
#libraries_attributes=(libraries_attributes_parameters) ⇒ Array (writeonly)
Returns the attributes of the libraries.
48 |
# File 'app/resources/v1/pacbio/library_batch_resource.rb', line 48 attributes :created_at, :libraries_attributes |
Instance Method Details
#fetchable_fields ⇒ Object
66 67 68 |
# File 'app/resources/v1/pacbio/library_batch_resource.rb', line 66 def fetchable_fields super - [:libraries_attributes] end |