Class: Qa::Authorities::Base
- Inherits:
-
Object
- Object
- Qa::Authorities::Base
- Extended by:
- Deprecation
- Defined in:
- lib/qa/authorities/base.rb
Direct Known Subclasses
AssignFast::GenericAuthority, Geonames, Getty::AAT, Getty::TGN, Getty::Ulan, Loc::GenericAuthority, Local::FileBasedAuthority, Local::TableBasedAuthority, Mesh, Oclcts::GenericOclcAuthority, Tgnlang
Instance Method Summary collapse
-
#all ⇒ Object
By default, #all is not implemented.
-
#find(id) ⇒ Object
By default, #find is not implemented.
- #full_record(id, _subauthority = nil) ⇒ Object
Instance Method Details
#all ⇒ Object
By default, #all is not implemented. If the subclassed authority does have this feature then you will overide the #all method in the subclassed authority. TODO: need to set some kind of error here
11 12 |
# File 'lib/qa/authorities/base.rb', line 11 def all end |
#find(id) ⇒ Object
By default, #find is not implemented. If the subclassed authority does have this feature then you will overide the #find method in the subclassed authority. TODO: need to set some kind of error here
18 19 |
# File 'lib/qa/authorities/base.rb', line 18 def find(id) end |
#full_record(id, _subauthority = nil) ⇒ Object
21 22 23 24 |
# File 'lib/qa/authorities/base.rb', line 21 def full_record(id, = nil) Deprecation.warn(".full_record is deprecated. Use .find instead") find(id) end |