lib/activity_notification/config.rb in activity_notification-0.0.8 vs lib/activity_notification/config.rb in activity_notification-0.0.9
- old
+ new
@@ -1,18 +1,20 @@
module ActivityNotification
# Class used to initialize configuration object.
class Config
attr_accessor :enabled,
:table_name,
+ :email_enabled,
:mailer_sender,
:mailer,
:parent_mailer,
:parent_controller,
:opened_limit
def initialize
@enabled = true
@table_name = "notifications"
+ @email_enabled = false
@mailer_sender = nil
@mailer = "ActivityNotification::Mailer"
@parent_mailer = 'ActionMailer::Base'
@parent_controller = 'ApplicationController'
@opened_limit = 10