Method: QaServer::AuthorityLoaderService.load
- Defined in:
- app/services/qa_server/authority_loader_service.rb
.load(authority_name:, status_log:) ⇒ Qa::Authorities::LinkedData::GenericAuthority
Load a QA authority
9 10 11 12 13 14 15 16 17 18 19 20 |
# File 'app/services/qa_server/authority_loader_service.rb', line 9 def self.load(authority_name:, status_log:) begin = (, status_log) return nil if .blank? rescue Exception => e status_log.add(authority_name: , status: QaServer::ScenarioValidator::FAIL, error_message: "Unable to load authority '#{authority_name}'; cause: #{e.message}") return nil end end |