Sha256: 4e75b4c99818e91ecbc6824833e1320863d526c8d47d47396f65ff03f6ecc8d6
Contents?: true
Size: 519 Bytes
Versions: 2
Compression:
Stored size: 519 Bytes
Contents
# -*- encoding: utf-8 -*- module SendGrid4r::REST module Stats # # SendGrid Web API v3 Stats - Global # module Global include Request def get_global_stats( start_date:, end_date: nil, aggregated_by: nil, &block ) params = { 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) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sendgrid4r-1.11.0 | lib/sendgrid4r/rest/stats/global.rb |
sendgrid4r-1.10.0 | lib/sendgrid4r/rest/stats/global.rb |