class Qa::LDF::LCNames

A caching LCSH authority.

@note This uses the search logic from the basic Loc authority that ships

with QA: `Qa::Authorities::Loc::GenericAuthority`.

@see LinkedDataFragments::CacheServer

Constants

DEFAULT_DATASET_NAME
NAMESPACE

Public Class Methods

namespace() click to toggle source

@return [String] the URI namespace associated with this authority

# File lib/qa/ldf/authorities/lc_names.rb, line 36
def self.namespace
  NAMESPACE
end

Public Instance Methods

search_service() click to toggle source

Uses the LC names subauthority as the search provider

# File lib/qa/ldf/authorities/lc_names.rb, line 42
def search_service
  @search_service ||= SearchService.new do |service|
    service.namespace      = NAMESPACE
    service.parent_service =
      Qa::Authorities::Loc.subauthority_for('names')
  end
end