Module Twitter::Profile
In: lib/twitter/profile.rb

Methods

Included Modules

Memoizable

Constants

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

Public Instance methods

Return the URL to the user‘s profile banner image

@param size [String, Symbol] The size of the image. Must be one of: ‘mobile’, ‘mobile_retina’, ‘web’, ‘web_retina’, ‘ipad’, or ‘ipad_retina’ @return [Addressable::URI]

@return [Boolean]

Return the secure URL to the user‘s profile banner image

@param size [String, Symbol] The size of the image. Must be one of: ‘mobile’, ‘mobile_retina’, ‘web’, ‘web_retina’, ‘ipad’, or ‘ipad_retina’ @return [Addressable::URI]

profile_banner_url(size = :web)

Alias for profile_banner_uri

profile_banner_url_https(size = :web)

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 [Addressable::URI]

@return [Boolean]

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 [Addressable::URI]

profile_image_url(size = :normal)

Alias for profile_image_uri

profile_image_url_https(size = :normal)

[Validate]