summaryrefslogtreecommitdiff
path: root/lib/custodian/alerts/smtp.rb
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2012-11-24 14:40:03 +0000
committerSteve Kemp <steve@steve.org.uk>2012-11-24 14:40:03 +0000
commit1846a7188b0fa58c8ecc50d12573af92bf2fb39e (patch)
tree2ffeab10f8e977063bb003924ea27ac34b74cdd3 /lib/custodian/alerts/smtp.rb
parented4e49422719f5e7b932da3ae1be9ed26a052466 (diff)
Initial/stub implementation of a factory for generating alerting objects.
Diffstat (limited to 'lib/custodian/alerts/smtp.rb')
-rw-r--r--lib/custodian/alerts/smtp.rb34
1 files changed, 34 insertions, 0 deletions
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