convert an expire time into seconds since epoch
accepts a Time object or a String in the form of "2018-01-01 12:00:00 +2:00"
Instance methods
is_expired?(epoch_time : Int64 | Nil = Time.now)
Sourceto_epoch(raw_expire : Time)
Sourceto_epoch(raw_expire : String)
Source