lib/ecoportal/api/common/response.rb in ecoportal-api-0.7.4 vs lib/ecoportal/api/common/response.rb in ecoportal-api-0.7.5
- old
+ new
@@ -18,10 +18,10 @@
def success?
@status.success?
end
- def pretty_print
+ def print_pretty
puts "Status: #{@status.code}"
puts "Body:"
puts JSON.pretty_generate(@body)
end
end