lib/libis/services/alma/web_service.rb in libis-services-0.1.2 vs lib/libis/services/alma/web_service.rb in libis-services-0.1.3

- old
+ new

@@ -13,15 +13,9 @@ def initialize(url = 'https://api-eu.hosted.exlibrisgroup.com/almaws/v1/bibs') configure(url) end def get_marc(alma_id, apikey = nil) - apikey ||= case alma_id - when /1480$/ - 'l7xx8879c82a7d7b453a887a6e6dca8300fd' - else - raise Libis::Services::ServiceError, "No Alma API key available for '#{alma_id}'" - end get alma_id, apikey: apikey end protected