class SocialAvatarProxy::FacebookAvatar
Public Instance Methods
remote_url()
click to toggle source
# File lib/social_avatar_proxy/facebook_avatar.rb, line 5 def remote_url if identifier =~ /^[\w\-\.]+$/i "https://graph.facebook.com/#{identifier}/picture?width=73&height=73" else raise RuntimeError, "Identifier contains invalid characters" end end