Skip to content

Instantly share code, notes, and snippets.

@kulakowka
Created November 24, 2018 20:58
Show Gist options
  • Save kulakowka/169dfd4dd5e4261b62089ca1c4821195 to your computer and use it in GitHub Desktop.
Save kulakowka/169dfd4dd5e4261b62089ca1c4821195 to your computer and use it in GitHub Desktop.
// Static methods
User.create()
User.remove()
User.update()
User.signIn()
User.findByToken()
User.findByEmail()
// Instance methods
user.rebuildFeed()
user.authToken()
user.sendEmail()
user.comparePassword()
user.photo()
user.learningSkills()
user.learningSkillsCount()
user.createdLessons()
user.completedLessons()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment