Class: MQRPC::Messages::PingRequest
- Inherits:
-
RequestMessage
- Object
- MQRPC::Message
- RequestMessage
- MQRPC::Messages::PingRequest
- Defined in:
- lib/mqrpc/messages/ping.rb
Instance Method Summary collapse
-
#initialize ⇒ PingRequest
constructor
A new instance of PingRequest.
Methods inherited from MQRPC::Message
#age, #generate_id!, inherited, new_from_data, #to_json
Methods included from BindToHash
Constructor Details
#initialize ⇒ PingRequest
Returns a new instance of PingRequest.
6 7 8 9 |
# File 'lib/mqrpc/messages/ping.rb', line 6 def initialize super self.pingdata = Time.now.to_f end |