struct UnsubscribeRateCheck::Row

Defined in:

unsubscribe_rate_check.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(campaign : String, sent : Int32, unsubscribed : Int32, complaints : Int32) #

[View source]

Instance Method Detail

def campaign : String #

[View source]
def complaint_rate : Float64 #

[View source]
def complaints : Int32 #

[View source]
def sent : Int32 #

[View source]
def status(unsub_limit : Float64, complaint_limit : Float64) : String #

"ok", "watch" (over 80% of a limit) or "over" (above a limit)


[View source]
def unsub_rate : Float64 #

[View source]
def unsubscribed : Int32 #

[View source]