Class: RSMP::Site::Options
- Inherits:
-
Options
- Object
- Options
- RSMP::Site::Options
show all
- Defined in:
- lib/rsmp/options/site_options.rb
Overview
Configuration options for sites.
Instance Method Summary
collapse
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' => default_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
|