Module: Spotlight::User::ClassMethods

Defined in:
app/models/concerns/spotlight/user.rb

Overview

Class-level user mixins

Instance Method Summary collapse

Instance Method Details

#find_by_user_key(key) ⇒ Object



48
49
50
# File 'app/models/concerns/spotlight/user.rb', line 48

def find_by_user_key(key)
  find_by email: key
end