Module: MaxCube::Messages::TCP::Serializer::MessageF
- Defined in:
- lib/maxcube/messages/tcp/type/f.rb
Overview
Request for NTP servers message (F). Optionally, updates can be done.
Constant Summary
- OPT_KEYS =
Optional hash keys.
%i[ntp_servers].freeze
Instance Method Summary collapse
- #serialize_tcp_f(hash) ⇒ Object private
Instance Method Details
#serialize_tcp_f(hash) ⇒ Object (private)
28 29 30 |
# File 'lib/maxcube/messages/tcp/type/f.rb', line 28 def serialize_tcp_f(hash) hash.key?(:ntp_servers) ? hash[:ntp_servers].join(',') : '' end |