Class: PushyClient::ProtocolHandler::TimeSendWrapper

Inherits:
Object
  • Object
show all
Defined in:
lib/pushy_client/protocol_handler.rb

Overview

Allow send and receive times to be independently stubbed in testing.

Class Method Summary collapse

Class Method Details

.nowObject



53
54
55
# File 'lib/pushy_client/protocol_handler.rb', line 53

def self.now
  Time.now()
end