class TempEmail::TempMatcher

Defined in:

temp-email/tempmatcher.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pattern = "", max_emails : Int64 | Nil = nil, expiry_seconds : Int64 | Nil = nil) #

[View source]

Instance Method Detail

def check_match(address : String, db : TempEmailDB) : Match #

[View source]
def destination : String? #

[View source]
def destination=(destination : Nil | String) #

[View source]
def expiry_seconds : Int64? #

[View source]
def expiry_seconds=(expiry_seconds : Int64 | Nil) #

[View source]
def forget_seconds : Int64? #

[View source]
def forget_seconds=(forget_seconds : Int64 | Nil) #

[View source]
def max_emails : Int64? #

[View source]
def max_emails=(max_emails : Int64 | Nil) #

[View source]
def regex : Regex #

[View source]
def regex=(regex : Regex) #

[View source]
def secs_to_s(time : Int64) #

[View source]
def set_defaults(other : self) #

[View source]
def set_parameter(parameter : String) #

[View source]