lib/sendgrid4r/rest/stats/global.rb in sendgrid4r-1.11.0 vs lib/sendgrid4r/rest/stats/global.rb in sendgrid4r-1.12.0

- old
+ new

@@ -15,10 +15,10 @@ start_date: start_date, end_date: end_date, aggregated_by: aggregated_by } resp = get(@auth, "#{BASE_URL}/stats", params, &block) - Stats.create_top_stats(resp) + finish(resp, @raw_resp) { |r| Stats.create_top_stats(r) } end end end end