lib/ecoportal/api/common/batch_response.rb in ecoportal-api-0.7.4 vs lib/ecoportal/api/common/batch_response.rb in ecoportal-api-0.7.5

- old
+ new

@@ -19,12 +19,12 @@ [*@result].each do |doc| yield doc end end - def pretty_print + def print_pretty if success? - each(&:pretty_print) + each(&:print_pretty) else puts "Request failed." end end end