upload recordings to youtube

This commit is contained in:
Josh
2017-05-23 14:43:53 -04:00
parent 24c8952e59
commit 7d96eadbbf
15 changed files with 213 additions and 4 deletions

View File

@ -26,6 +26,7 @@ class User < ApplicationRecord
user.username = self.send("#{auth_hash['provider']}_username", auth_hash) rescue nil
user.email = self.send("#{auth_hash['provider']}_email", auth_hash) rescue nil
user.name = auth_hash['info']['name']
user.token = auth_hash['credentials']['token']
user.save!
user
end