Module: MaxCube::Messages::TCP::Parser::MessageF

Defined in:
lib/maxcube/messages/tcp/type/f.rb

Overview

NTP server message.

Constant Summary

KEYS =

Mandatory hash keys.

%i[ntp_servers].freeze

Instance Method Summary collapse

Instance Method Details

#parse_tcp_f(body) ⇒ Object (private)



13
14
15
# File 'lib/maxcube/messages/tcp/type/f.rb', line 13

def parse_tcp_f(body)
  { ntp_servers: body.split(',') }
end