Class: RSMP::Supervisor::Options
- Defined in:
- lib/rsmp/options/supervisor_options.rb
Overview
Configuration options for supervisors.
Constant Summary
Constants inherited from Options
Instance Attribute Summary
Attributes inherited from Options
Instance Method Summary collapse
Methods inherited from Options
#[], #dig, #initialize, load_file, #schema_path, #to_h, #validate!
Constructor Details
This class inherits a constructor from RSMP::Options
Instance Method Details
#defaults ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
# File 'lib/rsmp/options/supervisor_options.rb', line 5 def defaults { 'port' => 12_111, 'ips' => 'all', 'default' => { 'sxl' => 'tlc', 'intervals' => { 'timer' => 1, 'watchdog' => 1 }, 'timeouts' => { 'watchdog' => 2, 'acknowledgement' => 2, 'command' => 10, 'status_response' => 10 } } } end |
#schema_file ⇒ Object
25 26 27 |
# File 'lib/rsmp/options/supervisor_options.rb', line 25 def schema_file 'supervisor.json' end |