lib/alma/availability_response.rb in alma-0.2.8 vs lib/alma/availability_response.rb in alma-0.3.1
- old
+ new
@@ -5,10 +5,10 @@
attr_accessor :availability
def initialize(response)
- @availability = parse_bibs_data(response.list)
+ @availability = parse_bibs_data(response.each)
end
# Data structure for holdings information of bib records.
# A hash with mms ids as keys, with values of an array of
# one or more hashes of holdings info