Module: Doorkeeper::Models::Accessible

Included in:
AccessGrantMixin, AccessTokenMixin
Defined in:
lib/doorkeeper/models/concerns/accessible.rb

Instance Method Summary collapse

Instance Method Details

#accessible?Boolean

Returns:

  • (Boolean)

4
5
6
# File 'lib/doorkeeper/models/concerns/accessible.rb', line 4

def accessible?
  !expired? && !revoked?
end