Sha256: a1ec6b5d11277ca511c6ba0d4b5ac4f0ee960ab8d52dc0e5241a186952fc5afa
Contents?: true
Size: 387 Bytes
Versions: 2
Compression:
Stored size: 387 Bytes
Contents
module MaxCube module Messages module TCP class Serializer # Command to configure Cube's portal URL module MessageU private # Mandatory hash keys. KEYS = %i[url port].freeze def serialize_tcp_u(hash) "#{hash[:url]}:#{to_int(0, 'port', hash[:port])}" end end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
maxcube-client-0.5.1 | lib/maxcube/messages/tcp/type/u.rb |
maxcube-client-0.5.0 | lib/maxcube/messages/tcp/type/u.rb |