class TellaPeer::Ping
Public Instance Methods
ping_to_pong()
click to toggle source
# File lib/tella_peer/ping.rb, line 7 def ping_to_pong pong = Pong.new pong.message_id = message_id pong end
Also aliased as: build_reply
type()
click to toggle source
# File lib/tella_peer/ping.rb, line 3 def type MessageTypes::PING end