struct Mailjet::Messageinformation::ListPath

Overview

Fetches the history of all messages between two dates

information = Mailjet::Messageinformation.all({
  from_ts: Time.local.at_beginning_of_week.to_rfc3339,
  to_ts:   Time.local.to_rfc3339,
})
information.data.first.spam_assassin_score
=> 0

Defined in:

mailjet/resources/messageinformation.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 #