lib/service_adaptors/primo_source.rb in umlaut-3.0.3 vs lib/service_adaptors/primo_source.rb in umlaut-3.0.4

- old
+ new

@@ -52,10 +52,10 @@ service_data = {} @holding_attributes.each do |attr| service_data[attr] = holding.method(attr).call end @source_attributes.each do |attr| - service_data[attr.to_sym] = holding.method(attr.to_sym).call + service_data[attr.to_sym] = holding.method(attr.to_sym).call if holding.respond_to?(attr.to_sym) end service_data.merge!({ :call_number => holding.call_number, :collection => holding.collection, :collection_str => "#{holding.library} #{holding.collection}", :coverage_str => holding.coverage.join("<br />"),