diff options
author | Patrick J Cherry <patrick@bytemark.co.uk> | 2012-04-17 18:06:24 +0100 |
---|---|---|
committer | Patrick J Cherry <patrick@bytemark.co.uk> | 2012-04-17 18:06:24 +0100 |
commit | 3a579efcd3ea7e4362f7abeb4138c4087e6f13c1 (patch) | |
tree | 35a1654cf752f31efb198fbbce0ba8a46a6ba6f4 /lib/mauve/configuration_builders | |
parent | c8d16b7511969edbde58bc49ef44e0ff63e5cb8f (diff) |
Changed method of including the Debug notification module. Now debug! can be
specified in the config to extend that particular instance of a notification
method.
Diffstat (limited to 'lib/mauve/configuration_builders')
-rw-r--r-- | lib/mauve/configuration_builders/notification_method.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/mauve/configuration_builders/notification_method.rb b/lib/mauve/configuration_builders/notification_method.rb index 9596587..3f9283e 100644 --- a/lib/mauve/configuration_builders/notification_method.rb +++ b/lib/mauve/configuration_builders/notification_method.rb @@ -35,6 +35,10 @@ module Mauve def result @result ||= @provider_class.new(@name) end + + def debug! + result.extend(Mauve::Notifiers::Debug) + end # This catches all methods available for a provider, as needed. # |