aboutsummaryrefslogtreecommitdiff
path: root/lib/mauve/configuration.rb
diff options
context:
space:
mode:
authorPatrick J Cherry <patrick@bytemark.co.uk>2012-04-23 16:01:44 +0100
committerPatrick J Cherry <patrick@bytemark.co.uk>2012-04-23 16:01:44 +0100
commit6561f886ed03a79ca035a1733816ab97380576d2 (patch)
tree24282c1a9f85a6a1f1eb010df7c421f3c08315bb /lib/mauve/configuration.rb
parentca99b0dff974d2fc841d7132d03b3ad1d1bf9b1e (diff)
Persons/PeopleLists can now specify multiple notification preferences.
Diffstat (limited to 'lib/mauve/configuration.rb')
-rw-r--r--lib/mauve/configuration.rb7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/mauve/configuration.rb b/lib/mauve/configuration.rb
index a74165b..65f5f71 100644
--- a/lib/mauve/configuration.rb
+++ b/lib/mauve/configuration.rb
@@ -20,10 +20,6 @@ module Mauve
# @return [Mauve::Server]
attr_accessor :server
- # The last AlertGroup to be configured
- # @return [Mauve::AlertGroup]
- attr_accessor :last_alert_group
-
# Notification methods
# @return [Hash]
attr_reader :notification_methods
@@ -49,10 +45,9 @@ module Mauve
#
def initialize
@server = nil
- @last_alert_group = nil
@notification_methods = {}
@people = {}
- @people_lists = Hash.new{|h,k| h[k] = Mauve::PeopleList.new(k)}
+ @people_lists = {}
@source_lists = Hash.new{|h,k| h[k] = Mauve::SourceList.new(k)}
@alert_groups = []
end