struct
UnsubscribeRateCheck::Row
- UnsubscribeRateCheck::Row
- Struct
- Value
- Object
Defined in:
unsubscribe_rate_check.crConstructors
Instance Method Summary
- #campaign : String
- #complaint_rate : Float64
- #complaints : Int32
- #sent : Int32
-
#status(unsub_limit : Float64, complaint_limit : Float64) : String
"ok", "watch" (over 80% of a limit) or "over" (above a limit)
- #unsub_rate : Float64
- #unsubscribed : Int32
Constructor Detail
def self.new(campaign : String, sent : Int32, unsubscribed : Int32, complaints : Int32)
#
Instance Method Detail
def status(unsub_limit : Float64, complaint_limit : Float64) : String
#
"ok", "watch" (over 80% of a limit) or "over" (above a limit)