module Doorkeeper::ApplicationMixin::ClassMethods
def by_uid(uid)
-
(Doorkeeper::Application, nil)
- Application instance or nil
Parameters:
-
uid
(#to_s
) -- UID (any object that responds to `#to_s`)
def by_uid(uid) find_by(uid: uid.to_s) end