Module | Twitter::Profile |
In: |
lib/twitter/profile.rb
|
PROFILE_IMAGE_SUFFIX_REGEX | = | /_normal(\.gif|\.jpe?g|\.png)$/i |
PREDICATE_URI_METHOD_REGEX | = | /_uri\?$/ |
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 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]
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]