Class: Mercy::StatusBuilder
- Inherits:
-
Object
- Object
- Mercy::StatusBuilder
- Defined in:
- lib/mercy/status_builder.rb
Instance Method Summary collapse
Instance Method Details
#add_report_config(key, config) ⇒ Object
7 8 9 10 11 |
# File 'lib/mercy/status_builder.rb', line 7 def add_report_config(key, config) status_key = config.delete(:on) || :default report_builder.add_config(key, config) config_for(status_key) << key end |