summaryrefslogtreecommitdiff
path: root/app/models/user_account.rb
blob: b54c93db2bd39facbe9a1b1cf311055ae88000d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

# UserAccount model
# email: string
# password_digest (secure password): string
# first_name: string
# last_name: string
# session_key: string
class UserAccount < ApplicationRecord
  has_secure_password validations: false

  def full_name
    "#{first_name} #{last_name}"
  end
end