module MaxCube::Messages::TCP::Serializer::MessageU
Command to configure Cube's portal URL
Constants
- KEYS
Mandatory hash keys.
Private Instance Methods
serialize_tcp_u(hash)
click to toggle source
# File lib/maxcube/messages/tcp/type/u.rb, line 13 def serialize_tcp_u(hash) "#{hash[:url]}:#{to_int(0, 'port', hash[:port])}" end