Class Twitter::User
In: lib/twitter/user.rb
Parent: Twitter::BasicUser

Methods

Included Modules

Twitter::Creatable

Constants

PROFILE_IMAGE_SUFFIX_REGEX = /_normal(\.gif|\.jpe?g|\.png)$/

External Aliases

contributors_enabled -> contributors_enabled?
default_profile -> default_profile?
default_profile_image -> default_profile_image?
follow_request_sent -> follow_request_sent?
favourites_count -> favorite_count
favourites_count -> favorites_count
favourites_count -> favourite_count
followers_count -> follower_count
friends_count -> friend_count
geo_enabled -> geo_enabled?
is_translator -> is_translator?
notifications -> notifications?
profile_background_tile -> profile_background_tile?
profile_use_background_image -> profile_use_background_image?
protected -> protected?
statuses_count -> status_count
is_translator -> translator
is_translator -> translator?
statuses_count -> tweet_count
statuses_count -> tweets_count
statuses_count -> update_count
statuses_count -> updates_count
verified -> verified?

Attributes

connections  [R] 
contributors_enabled  [R] 
default_profile  [R] 
default_profile_image  [R] 
description  [R] 
favourites_count  [R] 
follow_request_sent  [R] 
followers_count  [R] 
friends_count  [R] 
geo_enabled  [R] 
is_translator  [R] 
lang  [R] 
listed_count  [R] 
location  [R] 
name  [R] 
notifications  [R] 
profile_background_color  [R] 
profile_background_image_url  [R] 
profile_background_image_url_https  [R] 
profile_background_tile  [R] 
profile_link_color  [R] 
profile_sidebar_border_color  [R] 
profile_sidebar_fill_color  [R] 
profile_text_color  [R] 
profile_use_background_image  [R] 
protected  [R] 
statuses_count  [R] 
time_zone  [R] 
url  [R] 
utc_offset  [R] 
verified  [R] 

Public Instance methods

Return the URL to the user‘s profile image

@param size [String, Symbol] The size of the image. Must be one of: ‘mini’, ‘normal’, ‘bigger’ or ‘original’ @return [String]

Return the secure URL to the user‘s profile image

@param size [String, Symbol] The size of the image. Must be one of: ‘mini’, ‘normal’, ‘bigger’ or ‘original’ @return [String]

[Validate]