Sha256: 3f6047d1045adbab89596ae94c75c5577ad0e3c33338dd657cb74b33cb36da5b
Contents?: true
Size: 654 Bytes
Versions: 6
Compression:
Stored size: 654 Bytes
Contents
# -*- encoding: utf-8 -*- module SendGrid4r module REST module Stats # # SendGrid Web API v3 Stats - Parse # module Parse include SendGrid4r::REST::Request def get_parse_stats( start_date:, end_date: nil, aggregated_by: nil, &block ) params = { start_date: start_date, end_date: end_date, aggregated_by: aggregated_by } endpoint = "#{BASE_URL}/user/webhooks/parse/stats" resp = get(@auth, endpoint, params, &block) SendGrid4r::REST::Stats.create_top_stats(resp) end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems