Circed::Domain::LineBan
Inherits YAML::Serializable / Struct / Value / Object
Constants
GLINE = "GLINE"
KLINE = "KLINE"
TYPES = {KLINE, GLINE, ZLINE}
ZLINE = "ZLINE"
Constructors
new(type : String, mask : String, reason : String, set_by : String, set_at : Time = Time.utc, expires_at : Time | Nil = nil)
Sourcenew(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
Sourcenew(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
SourceClass methods
key(type : String, mask : String) : String
SourceInstance methods
expired?(now : Time = Time.utc) : Bool
Sourceexpires_at
Sourcekey
Sourcemask
Sourcematches?(context : BanMatchContext) : Bool
Sourcereason
Sourceserver_message
Sourceset_at
Sourceset_by
Sourcetype
Source