aboutsummaryrefslogblamecommitdiffstats
path: root/activemodel/test/models/oauthed_user.rb
blob: 9750bc19d490dd3299e0b28cecaceb6bd415ce9f (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                
class OauthedUser
  extend ActiveModel::Callbacks
  include ActiveModel::Validations
  include ActiveModel::SecurePassword
  
  define_model_callbacks :create

  has_secure_password(validations: false)

  attr_accessor :password_digest, :password_salt
end