Module: Gravity::ClassMethods
- Defined in:
- lib/gravity.rb
Instance Attribute Summary collapse
-
#gravatar_options ⇒ Object
Returns the value of attribute gravatar_options.
Instance Method Summary collapse
Instance Attribute Details
#gravatar_options ⇒ Object
Returns the value of attribute gravatar_options.
13 14 15 |
# File 'lib/gravity.rb', line 13 def @gravatar_options end |
Instance Method Details
#has_gravatar(options = {}) ⇒ Object
15 16 17 18 19 20 21 22 |
# File 'lib/gravity.rb', line 15 def has_gravatar = {} send :include, InstanceMethods self. = { :email => :email, :secure => false }.merge() end |