Class: QaServer::AuthorityListerService
- Inherits:
-
Object
- Object
- QaServer::AuthorityListerService
- Defined in:
- app/services/qa_server/authority_lister_service.rb
Class Method Summary collapse
-
.authorities_list ⇒ Array<String>
Return a list of supported authorities.
-
.scenarios_list(authority_name:, status_log:) ⇒ Object
Fill in status_log with data about each scenario for an authority.
Class Method Details
.authorities_list ⇒ Array<String>
Return a list of supported authorities
7 8 9 |
# File 'app/services/qa_server/authority_lister_service.rb', line 7 def self. Qa::LinkedData::AuthorityService. end |
.scenarios_list(authority_name:, status_log:) ⇒ Object
Fill in status_log with data about each scenario for an authority
14 15 16 17 18 19 |
# File 'app/services/qa_server/authority_lister_service.rb', line 14 def self.scenarios_list(authority_name:, status_log:) scenarios = QaServer::ScenariosLoaderService.load(authority_name: , status_log: status_log) return if scenarios.blank? list_terms(scenarios, status_log) list_searches(scenarios, status_log) end |