class TempEmail::TempEmailDB
- TempEmail::TempEmailDB
- Reference
- Object
Defined in:
temp-email/db.crConstant Summary
-
ERROR =
400
-
EXPENDED =
502
-
EXPIRED =
501
-
FOUND =
200
-
UNKNOWN =
500
-
VERSION =
1_i64
Constructors
Instance Method Summary
- #add_address(address : String, destination : String, expiry : Int64 | Nil, forget : Int64 | Nil, remaining_uses : Int64 | Nil)
-
#check_address(address : String) : Tuple(Int32, String | Nil, String)
returns the code and the value
- #upgrade_db(target_version : Int64)
- #upgrade_to_version(version : Int64)
Constructor Detail
Instance Method Detail
def add_address(address : String, destination : String, expiry : Int64 | Nil, forget : Int64 | Nil, remaining_uses : Int64 | Nil)
#
def check_address(address : String) : Tuple(Int32, String | Nil, String)
#
returns the code and the value