Module: Aggravatar
- Defined in:
- lib/aggravatar.rb
Defined Under Namespace
Modules: InstanceMethods
Class Method Summary collapse
Class Method Details
.host ⇒ Object
6 7 8 |
# File 'lib/aggravatar.rb', line 6 def self.host "gravatar.com" end |
.included(base) ⇒ Object
2 3 4 |
# File 'lib/aggravatar.rb', line 2 def self.included(base) base.send(:include, InstanceMethods) end |
.path(email_hash) ⇒ Object
10 11 12 |
# File 'lib/aggravatar.rb', line 10 def self.path(email_hash) "/avatar/#{email_hash}" end |