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

- old
+ new

@@ -38,12 +38,12 @@ def success? response.success? end - def pretty_print + def print_pretty if success? - each(&:pretty_print) + each(&:print_pretty) else puts "Request failed." end end