From 1846a7188b0fa58c8ecc50d12573af92bf2fb39e Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Sat, 24 Nov 2012 14:40:03 +0000 Subject: Initial/stub implementation of a factory for generating alerting objects. --- lib/custodian/alerts/smtp.rb | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 lib/custodian/alerts/smtp.rb (limited to 'lib/custodian/alerts/smtp.rb') 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 -- cgit v1.2.1