class OAuth2::AccessToken
def expired?
-
(Boolean)
- true if the token is expired, false otherwise
def expired? expires? && (expires_at <= Time.now.to_i) end
(Boolean)
- true if the token is expired, false otherwise
def expired? expires? && (expires_at <= Time.now.to_i) end