class Libis::Services::Alma::WebService

Public Class Methods

new(url = 'https://api-eu.hosted.exlibrisgroup.com/almaws/v1/bibs') click to toggle source
# File lib/libis/services/alma/web_service.rb, line 13
def initialize(url = 'https://api-eu.hosted.exlibrisgroup.com/almaws/v1/bibs')
  configure(url)
end

Public Instance Methods

get_marc(alma_id, apikey = nil) click to toggle source
# File lib/libis/services/alma/web_service.rb, line 17
def get_marc(alma_id, apikey = nil)
  get alma_id, apikey: apikey
end

Protected Instance Methods

result_parser(response) click to toggle source
# File lib/libis/services/alma/web_service.rb, line 23
def result_parser(response)
  Libis::Tools::XmlDocument.parse(response)
end