Class: Bosh::Monitor::Plugins::Dummy
- Defined in:
- lib/bosh/monitor/plugins/dummy.rb
Instance Attribute Summary
Attributes inherited from Base
#event_kinds, #logger, #options
Instance Method Summary collapse
Methods inherited from Base
#initialize, #validate_options
Constructor Details
This class inherits a constructor from Bosh::Monitor::Plugins::Base
Instance Method Details
#events ⇒ Object
15 16 17 |
# File 'lib/bosh/monitor/plugins/dummy.rb', line 15 def events @events end |
#process(event) ⇒ Object
8 9 10 11 12 13 |
# File 'lib/bosh/monitor/plugins/dummy.rb', line 8 def process(event) logger.info("Processing event!") logger.info(event) @events ||= [] @events << event end |
#run ⇒ Object
4 5 6 |
# File 'lib/bosh/monitor/plugins/dummy.rb', line 4 def run logger.info("Dummy delivery agent is running...") end |