Module: Doorkeeper::Models::Accessible
- Included in:
- AccessGrantMixin, AccessTokenMixin
- Defined in:
- lib/doorkeeper/models/concerns/accessible.rb
Instance Method Summary collapse
-
#accessible? ⇒ Boolean
Indicates whether the object is accessible (not expired and not revoked).
Instance Method Details
#accessible? ⇒ Boolean
Indicates whether the object is accessible (not expired and not revoked).
10 11 12 |
# File 'lib/doorkeeper/models/concerns/accessible.rb', line 10 def accessible? !expired? && !revoked? end |