module Doorkeeper::AccessGrantMixin::ClassMethods

Public Instance Methods

by_token(token) click to toggle source
# File lib/doorkeeper/models/access_grant_mixin.rb, line 26
def by_token(token)
  where(token: token.to_s).limit(1).to_a.first
end