Class: Authentifyd::User

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/authentifyd/user.rb

Instance Method Summary collapse

Instance Method Details

#apply_omniauth(omniauth) ⇒ Object



11
12
13
# File 'app/models/authentifyd/user.rb', line 11

def apply_omniauth(omniauth)
  authentications.build(:provider => omniauth['provider'], :uid => omniauth['uid'])
end