app/models/user.rb
# 20) refresh_token - only google+ - google access token expires once every hour
# for ShareAccount.share_level's 3 and 4 (access token saved in db)
# String in model - Encrypted text in db
20) refresh_token - only google+ - google access token expires once every hour
for ShareAccount.share_level's 3 and 4 (access token saved in db)
String in model - Encrypted text in db
20 ) refresh_token - only google + - google access token expires once every hour for ShareAccount . share_level ' s 3 and 4 ( access token saved in db ) String in model - Encrypted text in db
def refresh_token
    return nil unless (temp_refresh_token = read_attribute(:refresh_token))
    encrypt_remove_pre_and_postfix(temp_refresh_token, 'refresh_token', 45)
  end
def refresh_token return nil unless ( temp_refresh_token = read_attribute ( :refresh_token ) ) encrypt_remove_pre_and_postfix ( temp_refresh_token , 'refresh_token' , 45 ) end
20) refresh_token - only google+ - google access token expires once every hour
for ShareAccount.share_level's 3 and 4 (access token saved in db)
String in model - Encrypted text in db
20 ) refresh_token - only google + - google access token expires once every hour for ShareAccount . share_level ' s 3 and 4 ( access token saved in db ) String in model - Encrypted text in db
# logger.debug2  "temp_refresh_token = #{temp_refresh_token}"