Sha256: 242b91f02b10d5319a8cda99fd76cf12daa7caa4afa5d44e03a6c4dd91e381e4
Contents?: true
Size: 267 Bytes
Versions: 1
Compression:
Stored size: 267 Bytes
Contents
require_relative "base" module Moleculer module Packets ## # Represents a DISCOVER packet class Discover < Base packet_attr :node_id, nil def topic return "#{super}.#{node_id}" if node_id super end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
moleculer-0.3.0 | lib/moleculer/packets/discover.rb |