module Doorkeeper::Models::Expirable
def expired?
-
(Boolean)
- true if object expired and false in other case
def expired? !!(expires_in && Time.now.utc > expires_at) end
(Boolean)
- true if object expired and false in other case
def expired? !!(expires_in && Time.now.utc > expires_at) end