struct Mailjet::Statcounters::ListPath

Overview

Raw statcounter endpoint, requiring a series of parameters

response = Mailjet::Statcounters.all({
  counter_source:     "apikey",
  counter_timing:     "message",
  counter_resolution: "lifetime",
})
stats = response.data.first

Defined in:

mailjet/resources/statcounters.cr

Instance Method Summary

Instance methods inherited from struct Mailjet::Path

params : Hash(String, String) params, pattern pattern, to_s : String to_s

Constructor methods inherited from struct Mailjet::Path

new(params : Hash | NamedTuple = Hash(String, String).new) new

Instance Method Detail

def pattern : String #