Class: Qa::LDF::FAST
- Defined in:
- lib/qa/ldf/authorities/fast.rb
Overview
A caching OCLC Faceted Application of Subject Terminology (FAST) authority.
Defined Under Namespace
Classes: SearchService
Constant Summary collapse
- DEFAULT_DATASET_NAME =
:fast
- NAMESPACE =
'http://id.worldcat.org/fast/'.freeze
Constants inherited from Authority
Authority::DEFAULT_CLIENT, Authority::DEFAULT_MAPPER, Authority::DEFAULT_SEARCH_SERVICE
Instance Attribute Summary
Attributes inherited from Authority
Class Method Summary collapse
-
.namespace ⇒ String
The URI namespace associated with this authority.
Instance Method Summary collapse
-
#search_service ⇒ Object
Uses the LC AssignFast 'all' subauthority as the search provider.
Methods inherited from Authority
#all, #find, for, #graph, #initialize, namespaces, register_namespace, reset_namespaces, #search
Constructor Details
This class inherits a constructor from Qa::LDF::Authority
Class Method Details
.namespace ⇒ String
Returns the URI namespace associated with this authority.
31 32 33 |
# File 'lib/qa/ldf/authorities/fast.rb', line 31 def self.namespace NAMESPACE end |
Instance Method Details
#search_service ⇒ Object
Uses the LC AssignFast 'all' subauthority as the search provider
37 38 39 40 41 42 43 |
# File 'lib/qa/ldf/authorities/fast.rb', line 37 def search_service @search_service ||= SearchService.new do |service| service.namespace = NAMESPACE service.parent_service = Qa::Authorities::AssignFast.('all') end end |