Class: DMAO::Ingesters::Generic::ProjectsIngester
- Defined in:
- lib/dmao/ingesters/generic/projects_ingester.rb
Constant Summary collapse
- ENTITY =
DMAO::API::Project
- ENTITY_ERROR =
DMAO::Ingesters::Errors::IngestProjectError
- ENTITY_ERROR_MESSAGE =
"Invalid project details"
- ERROR_HANDLING =
{ "DMAO::API::Errors::ProjectNotFound" => "Project not found, cannot update project that does not exist", "DMAO::API::Errors::InstitutionNotFound" => "Institution not found, cannot ingest project to non-existent institution", "DMAO::API::Errors::InvalidOrganisationUnitID" => "Organisation unit not found, cannot ingest project linked to non-existent organisation unit" }
Constants inherited from Ingester
Ingester::INVALID_ENTITY_ERROR
Method Summary
Methods inherited from Ingester
entity_name, #generic_errors, #ingest, #ingest_entity, #initialize, #parse_unprocessable_errors
Constructor Details
This class inherits a constructor from DMAO::Ingesters::Generic::Ingester