Class: V1::QcResultsUploadResource
- Inherits:
-
JSONAPI::Resource
- Object
- JSONAPI::Resource
- V1::QcResultsUploadResource
- Defined in:
- app/resources/v1/qc_results_upload_resource.rb
Overview
Note:
Access this resource via the /v1/qc_results_uploads endpoint.
Provides a JSON:API representation of QcResultsUpload.
QcResultsUploadResource resource handles the uploading of QC results via CSV data.
Steps:
-
Validate QcResultsUpload data (via QcResultsUploadFactory validation)
-
Create QcResultsUpload entity
-
Create QcDecisions, QcResults, QcDecisionResult entities
-
Build QcResultMessages
-
Publish QcResultMessages
Instance Attribute Summary collapse
-
#csv_data ⇒ String
writeonly
The CSV data for the QC results upload.
-
#used_by ⇒ String
writeonly
The process or system that uploaded the QC results.
Instance Method Summary collapse
Instance Attribute Details
#csv_data=(value) ⇒ String (writeonly)
Returns the CSV data for the QC results upload.
40 |
# File 'app/resources/v1/qc_results_upload_resource.rb', line 40 attributes :csv_data, :used_by |
#used_by=(value) ⇒ String (writeonly)
Returns the process or system that uploaded the QC results.
40 |
# File 'app/resources/v1/qc_results_upload_resource.rb', line 40 attributes :csv_data, :used_by |