Class: Sensu::Extension::RubyHash
- Inherits:
-
Mutator
- Object
- Mutator
- Sensu::Extension::RubyHash
- Defined in:
- lib/sensu/extensions/ruby-hash.rb
Instance Method Summary collapse
Instance Method Details
#description ⇒ Object
10 11 12 |
# File 'lib/sensu/extensions/ruby-hash.rb', line 10 def description "returns ruby hash event data" end |
#name ⇒ Object
6 7 8 |
# File 'lib/sensu/extensions/ruby-hash.rb', line 6 def name "ruby_hash" end |
#run(event) {|event, 0| ... } ⇒ Object
14 15 16 |
# File 'lib/sensu/extensions/ruby-hash.rb', line 14 def run(event) yield event, 0 end |