Module: Qa::LDF

Defined in:
lib/qa/ldf.rb,
lib/qa/ldf/model.rb,
lib/qa/ldf/client.rb,
lib/qa/ldf/version.rb,
lib/qa/ldf/authority.rb,
lib/qa/ldf/json_mapper.rb,
lib/qa/ldf/configuration.rb,
lib/qa/ldf/authorities/fast.rb,
lib/qa/ldf/authorities/lc_names.rb,
lib/qa/ldf/empty_search_service.rb,
lib/qa/ldf/namespaced_search_service.rb

Overview

Provides bindings from qa to a linked data fragment caching service for fast query of RDF-based authorities.

Defined Under Namespace

Modules: VERSION Classes: Authority, Client, Configuration, EmptySearchService, FAST, JsonMapper, LCNames, Model, NamespacedSearchService

Class Method Summary collapse

Class Method Details

.configConfiguration

Returns the singleton configuration instance.

Returns:



25
26
27
# File 'lib/qa/ldf.rb', line 25

def self.config
  @config ||= configure!
end

.configure!(**options, &block) ⇒ Object

Examples:

configuring with block syntax

Qa::LDF.configure

See Also:

  • Configuration#configure


33
34
35
# File 'lib/qa/ldf.rb', line 33

def self.configure!(**options, &block)
  @config = Configuration.instance.configure!(**options, &block)
end

.versionObject

See Also:



39
40
41
# File 'lib/qa/ldf.rb', line 39

def self.version
  VERSION
end