class SocialOauthApi::Sinaweibo::User
Public Instance Methods
profile_image_url()
click to toggle source
# File lib/social_oauth_api/sinaweibo/sinaweibo_user.rb, line 24 def profile_image_url show['profile_image_url'] end
Also aliased as: image_url
screen_name()
click to toggle source
# File lib/social_oauth_api/sinaweibo/sinaweibo_user.rb, line 20 def screen_name show['screen_name'] end
Also aliased as: name
show()
click to toggle source
# File lib/social_oauth_api/sinaweibo/sinaweibo_user.rb, line 14 def show @user_info ||= JSON.parse( get(show_url, access_token: access_token, uid: uid) ) end
Also aliased as: user_info
uid()
click to toggle source
# File lib/social_oauth_api/sinaweibo/sinaweibo_user.rb, line 9 def uid @uid ||= JSON.parse(get(uid_url, access_token: access_token)) @uid['uid'].to_s end
Also aliased as: id