secret
Created

  • Download Gist
update_user_account.rb
Ruby
1 2 3 4 5 6 7 8 9 10 11
def update_user_account
user_twitter_profile = get_client.user
current_user.update_attributes({
name: user_twitter_profile.name,
screen_name: user_twitter_profile.screen_name,
url: user_twitter_profile.url,
profile_image_url: user_twitter_profile.profile_image_url,
location: user_twitter_profile.location,
description: user_twitter_profile.description
})
end

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.