# File lib/twitter/user.rb, line 48 def profile_image_url(size=:normal) # The profile image URL comes in looking like like this: # http://a0.twimg.com/profile_images/1759857427/image1326743606_normal.png # It can be converted to any of the following sizes: # http://a0.twimg.com/profile_images/1759857427/image1326743606.png # http://a0.twimg.com/profile_images/1759857427/image1326743606_mini.png # http://a0.twimg.com/profile_images/1759857427/image1326743606_bigger.png resize_profile_image_url(@attrs[:profile_image_url], size) end