Module: Socializer::Configuration
- Included in:
- Socializer
- Defined in:
- lib/mongoid_socializer_actions/config.rb
Overview
Configuration settings
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#configure {|_self| ... } ⇒ Object
Example:.
Instance Attribute Details
#user_class_name ⇒ Object
16 17 18 |
# File 'lib/mongoid_socializer_actions/config.rb', line 16 def user_class_name @user_class_name ||= 'User' end |
Instance Method Details
#configure {|_self| ... } ⇒ Object
Example:
Socializer.configure do |configuration|
configuration.user_class_name = 'User'
end
12 13 14 |
# File 'lib/mongoid_socializer_actions/config.rb', line 12 def configure yield self end |