diff options
Diffstat (limited to 'lib/custodian/alerts')
| -rw-r--r-- | lib/custodian/alerts/mauve.rb | 34 | ||||
| -rw-r--r-- | lib/custodian/alerts/smtp.rb | 34 | 
2 files changed, 68 insertions, 0 deletions
| diff --git a/lib/custodian/alerts/mauve.rb b/lib/custodian/alerts/mauve.rb new file mode 100644 index 0000000..c3e8a76 --- /dev/null +++ b/lib/custodian/alerts/mauve.rb @@ -0,0 +1,34 @@ + + + +# +#  The Mauve-alerter. +# +module Custodian + +  module Alerter + +    class Mauve < AlertFactory + +      # +      # The test this alerter cares about +      # +      attr_reader :test + +      # +      # Constructor +      # +      def initialize( obj ) +        @test = obj +      end + + + +      register_alert_type "mauve" + + + + +    end +  end +end diff --git a/lib/custodian/alerts/smtp.rb b/lib/custodian/alerts/smtp.rb new file mode 100644 index 0000000..21ef791 --- /dev/null +++ b/lib/custodian/alerts/smtp.rb @@ -0,0 +1,34 @@ + + + +# +#  The SMTP-alerter. +# +module Custodian + +  module Alerter + +    class SMTP < AlertFactory + +      # +      # The test this alerter cares about +      # +      attr_reader :test + +      # +      # Constructor +      # +      def initialize( obj ) +        @test = obj +      end + + + +      register_alert_type "smtp" + + + + +    end +  end +end | 
