Class: DataChecks::Notifiers::Notifier
- Inherits:
-
Object
- Object
- DataChecks::Notifiers::Notifier
- Defined in:
- lib/data_checks/notifiers/notifier.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(options) ⇒ Notifier
constructor
A new instance of Notifier.
- #notify(check_result) ⇒ Object
Constructor Details
#initialize(options) ⇒ Notifier
Returns a new instance of Notifier.
8 9 10 |
# File 'lib/data_checks/notifiers/notifier.rb', line 8 def initialize() @options = end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
6 7 8 |
# File 'lib/data_checks/notifiers/notifier.rb', line 6 def @options end |
Instance Method Details
#notify(check_result) ⇒ Object
12 13 14 |
# File 'lib/data_checks/notifiers/notifier.rb', line 12 def notify(check_result) raise NotImplementedError, "#{self.class.name} must implement a 'notify' method" end |