Class: Gravatar
- Inherits:
-
Object
- Object
- Gravatar
- Defined in:
- lib/motion-gravatar/motion-gravatar.rb
Overview
Class for generating Gravatar URLs.
Class Method Summary collapse
-
.getURL(email, size = 80, defaultURL = nil) ⇒ NSURL
Generate the URL for a user’s Gravatar image by providing an email address, image size, and optional default image URL.
Class Method Details
.getURL(email, size = 80, defaultURL = nil) ⇒ NSURL
Generate the URL for a user’s Gravatar image by providing an email address, image size, and optional default image URL.
9 10 11 |
# File 'lib/motion-gravatar/motion-gravatar.rb', line 9 def self.getURL(email, size=80, defaultURL=nil) GravatarHelper.getGravatarURL(email, size:size, defaultURL:defaultURL) end |