Class: V1::QcResultsUploadResource
- Inherits:
-
JSONAPI::Resource
- Object
- JSONAPI::Resource
- V1::QcResultsUploadResource
- Defined in:
- app/resources/v1/qc_results_upload_resource.rb
Overview
This documentation does not yet include a detailed description of what this resource represents.
This documentation does not yet include detailed descriptions for relationships, attributes and filters.
This documentation does not yet include any example usage of the API via cURL or similar.
Access this resource via the /v1/qc_results
endpoint.
Steps:
-
Validate QcResultsUpload data (via QcResultsUploadFactory validation)
-
Create QcResultsUpload entity
-
Create QcDecisions, QcResults, QcDecisionResult entities
-
Build QcResultMessages
-
Publish QcResultMessages
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.
Instance Attribute Summary collapse
-
#csv_data ⇒ String
The CSV data for the QC results upload.
-
#used_by ⇒ String
The user who uploaded the QC results.
Instance Method Summary collapse
Instance Attribute Details
#csv_data ⇒ String
Returns the CSV data for the QC results upload.
28 |
# File 'app/resources/v1/qc_results_upload_resource.rb', line 28 attributes :csv_data, :used_by |
#used_by ⇒ String
Returns the user who uploaded the QC results.
28 |
# File 'app/resources/v1/qc_results_upload_resource.rb', line 28 attributes :csv_data, :used_by |