Module: Qa

Extended by:
ActiveSupport::Autoload
Defined in:
app/services/qa/iri_template_service.rb,
lib/qa.rb,
lib/qa/engine.rb,
lib/qa/version.rb,
lib/qa/configuration.rb,
app/services/qa/pagination_service.rb,
lib/qa/linked_data/authority_service.rb,
lib/qa/services/rdf_authority_parser.rb,
app/models/qa/iri_template/url_config.rb,
app/models/qa/iri_template/variable_map.rb,
app/models/qa/linked_data/config/helper.rb,
app/controllers/qa/application_controller.rb,
app/services/qa/linked_data/graph_service.rb,
app/services/qa/linked_data/ldpath_service.rb,
app/models/qa/linked_data/config/context_map.rb,
app/services/qa/linked_data/language_service.rb,
app/services/qa/linked_data/deep_sort_service.rb,
app/services/qa/linked_data/authority_url_service.rb,
app/services/qa/linked_data/language_sort_service.rb,
app/services/qa/linked_data/request_header_service.rb,
app/services/qa/linked_data/response_header_service.rb,
app/services/qa/linked_data/performance_data_service.rb,
lib/qa/authorities/local/mysql_table_based_authority.rb,
app/models/qa/linked_data/config/context_property_map.rb,
app/services/qa/linked_data/mapper/graph_mapper_service.rb,
app/services/qa/linked_data/mapper/context_mapper_service.rb,
app/services/qa/linked_data/mapper/graph_ldpath_mapper_service.rb,
app/services/qa/linked_data/mapper/term_results_mapper_service.rb,
app/services/qa/linked_data/mapper/search_results_mapper_service.rb,
app/services/qa/linked_data/mapper/graph_predicate_mapper_service.rb

Overview

Provide service for mapping predicates to object values.

Defined Under Namespace

Modules: ApplicationHelper, Authorities, IriTemplate, LinkedData, Local, Services Classes: ApidocGenerator, ApplicationController, ConfigDirectoryNotFound, Configuration, DataNormalizationError, DiscogsGenerator, Engine, InstallGenerator, InvalidConfiguration, InvalidLinkedDataAuthority, InvalidSubAuthority, IriTemplateService, LinkedDataTermsController, MeshTree, MissingSubAuthority, PaginationService, ServiceError, ServiceUnavailable, SubjectMeshTerm, TermNotFound, TermsController, UnsupportedAction, UnsupportedFormat

Constant Summary collapse

VERSION =
"5.13.0".freeze

Class Method Summary collapse

Class Method Details

.config {|Qa::Configuration| ... } ⇒ Qa::Configuration

Exposes the Questioning Authority configuration

Yields:

Returns:

See Also:



19
20
21
22
23
24
25
# File 'lib/qa.rb', line 19

def self.config(&block)
  @config ||= Qa::Configuration.new

  yield @config if block

  @config
end

.deprecation_warning(in_msg: nil, msg:) ⇒ Object



27
28
29
30
31
# File 'lib/qa.rb', line 27

def self.deprecation_warning(in_msg: nil, msg:)
  return if Rails.env == 'test'
  in_msg = in_msg.present? ? "In #{in_msg}, " : ''
  warn "[DEPRECATED] #{in_msg}#{msg}  It will be removed in the next major release."
end