mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 11:50:49 +08:00
6 lines
117 B
Ruby
6 lines
117 B
Ruby
class VerificationCode < ApplicationRecord
|
|
def effective?
|
|
created_at + 10.minute > Time.current
|
|
end
|
|
end
|