diff options
author | Steve Kemp <steve@steve.org.uk> | 2012-11-24 14:40:03 +0000 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2012-11-24 14:40:03 +0000 |
commit | 7bfaf7e94eed64dbc1e534e2eee0f9e224e6f146 (patch) | |
tree | 2ffeab10f8e977063bb003924ea27ac34b74cdd3 /lib/custodian/alerts/smtp.rb | |
parent | 04d4be3cf4f41ad6225ce57a9e3d92ae7260fc7e (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.rb | 34 |
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 |