lib/exlibris/aleph/record.rb in exlibris-aleph-0.1.0 vs lib/exlibris/aleph/record.rb in exlibris-aleph-0.1.1

- old
+ new

@@ -44,10 +44,10 @@ raise "Error getting items from Aleph REST APIs. #{error}" if not error.nil? or @response.nil? or @response["get_item_list"].nil? or @response["get_item_list"]["items"].nil? item_list = @response["get_item_list"]["items"]["item"] @items.push(item_list) if item_list.instance_of?(Hash) item_list.each {|item|@items.push(item)} if item_list.instance_of?(Array) - Rails.logger.warn("No items returned from Aleph in #{self.class}.") if @items.empty? + # Rails.logger.warn("No items returned from Aleph in #{self.class}.") if @items.empty? return @items end # Returns an XML string representation of holdings # Every method call refreshes the data from the underlying API. \ No newline at end of file