Skip to content

Instantly share code, notes, and snippets.

@ahmdrefat
Created November 12, 2012 13:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ahmdrefat/f272bac62ab8d7cd54bd to your computer and use it in GitHub Desktop.
Save ahmdrefat/f272bac62ab8d7cd54bd to your computer and use it in GitHub Desktop.
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment