Method: Qa::Authorities::Loc::GenericAuthority#find_url

Defined in:
lib/qa/authorities/loc/generic_authority.rb

#find_url(id) ⇒ Object



37
38
39
40
# File 'lib/qa/authorities/loc/generic_authority.rb', line 37

def find_url(id)
  root_fetch_slug = Loc.root_fetch_slug_for(@subauthority)
  File.join("https://id.loc.gov/", root_fetch_slug, "/#{@subauthority}/#{id}.json")
end