Class: MuckInvites::Configuration
- Inherits:
-
Object
- Object
- MuckInvites::Configuration
- Defined in:
- lib/muck-invites/config.rb
Instance Attribute Summary collapse
-
#create_activities_when_invited_joins ⇒ Object
Returns the value of attribute create_activities_when_invited_joins.
-
#email_inviters_when_invited_joins ⇒ Object
Returns the value of attribute email_inviters_when_invited_joins.
-
#use_gravatar_in_photo_list ⇒ Object
Returns the value of attribute use_gravatar_in_photo_list.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
18 19 20 21 22 |
# File 'lib/muck-invites/config.rb', line 18 def initialize self.use_gravatar_in_photo_list = true # The invite list can include photos from gravatar if this is true self.create_activities_when_invited_joins = true self.email_inviters_when_invited_joins = true end |
Instance Attribute Details
#create_activities_when_invited_joins ⇒ Object
Returns the value of attribute create_activities_when_invited_joins.
15 16 17 |
# File 'lib/muck-invites/config.rb', line 15 def create_activities_when_invited_joins @create_activities_when_invited_joins end |
#email_inviters_when_invited_joins ⇒ Object
Returns the value of attribute email_inviters_when_invited_joins.
16 17 18 |
# File 'lib/muck-invites/config.rb', line 16 def email_inviters_when_invited_joins @email_inviters_when_invited_joins end |
#use_gravatar_in_photo_list ⇒ Object
Returns the value of attribute use_gravatar_in_photo_list.
14 15 16 |
# File 'lib/muck-invites/config.rb', line 14 def use_gravatar_in_photo_list @use_gravatar_in_photo_list end |