Class: RSMP::Site::Options
- Defined in:
- lib/rsmp/options/site_options.rb
Overview
Configuration options for sites.
Direct Known Subclasses
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, #log_schema_path, #schema_path, #to_h, #validate!, #validate_log_settings!, yaml_file?
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 |
# File 'lib/rsmp/options/site_options.rb', line 5 def defaults { 'site_id' => 'RN+SI0001', 'connection_role' => 'client', 'ip' => '0.0.0.0', 'supervisors' => default_supervisors, 'sxls' => default_sxls, 'intervals' => default_intervals, 'timeouts' => default_timeouts, 'send_after_connect' => true, 'message_buffer' => , 'components' => default_components } end |
#schema_file ⇒ Object
20 21 22 |
# File 'lib/rsmp/options/site_options.rb', line 20 def schema_file 'site.json' end |