Class: Syncano::Packets::Ping

Inherits:
Base
  • Object
show all
Defined in:
lib/syncano/packets/ping.rb

Overview

Class representing ping packets used in communication with the Sync Server

Instance Attribute Summary

Attributes inherited from Base

#object, #timestamp

Instance Method Summary collapse

Methods inherited from Base

#auth?, #call_response?, #initialize, instantize_packet, #message?, #notification?

Constructor Details

This class inherits a constructor from Syncano::Packets::Base

Instance Method Details

#ping?TrueClass, FalseClass

Returns true if is a ping packet

Returns:

  • (TrueClass, FalseClass)


7
8
9
# File 'lib/syncano/packets/ping.rb', line 7

def ping?
  true
end