Module: LoyalCore::ActsAsHasAvatar
- Defined in:
- lib/loyal_core/acts/has_avatar.rb
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
-
.included(base) ⇒ Object
LOYAL_CORE_AVATAR_STYLES = { :medium => “360x360#”, :small => “180x180#”, :thumb => “100x100#”, :mini => “50x50#” }.freeze.
Class Method Details
.included(base) ⇒ Object
LOYAL_CORE_AVATAR_STYLES =
:medium => "360x360#",
:small => "180x180#",
:thumb => "100x100#",
:mini => "50x50#"
.freeze
11 12 13 14 15 |
# File 'lib/loyal_core/acts/has_avatar.rb', line 11 def self.included(base) base.class_eval do extend ClassMethods end end |