Class: Qa::Authorities::Base
- Inherits:
-
Object
- Object
- Qa::Authorities::Base
- Defined in:
- lib/qa/authorities/base.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#get_full_record(id, sub_authority = nil) ⇒ Object
return information on a specific record.
-
#search(query, sub_authority = nil) ⇒ Object
do an autocomplete search.
Class Method Details
.authority_valid?(sub_authority) ⇒ Boolean
14 15 16 |
# File 'lib/qa/authorities/base.rb', line 14 def self.() == nil || .include?() end |
.sub_authorities ⇒ Object
18 19 20 |
# File 'lib/qa/authorities/base.rb', line 18 def self. [] #Overwrite if you have sub_authorities end |
Instance Method Details
#get_full_record(id, sub_authority = nil) ⇒ Object
return information on a specific record
11 12 |
# File 'lib/qa/authorities/base.rb', line 11 def get_full_record(id, =nil) end |
#search(query, sub_authority = nil) ⇒ Object
do an autocomplete search
7 8 |
# File 'lib/qa/authorities/base.rb', line 7 def search(query, =nil) end |