class TellaPeer::Ping

Public Instance Methods

build_reply()
Alias for: ping_to_pong
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