forked from jasder/forgeplus
6 lines
117 B
Ruby
6 lines
117 B
Ruby
|
class VerificationCode < ApplicationRecord
|
||
|
def effective?
|
||
|
created_at + 10.minute > Time.current
|
||
|
end
|
||
|
end
|