Module: EventMachine::APN

Defined in:
lib/em-apn.rb,
lib/em-apn/client.rb,
lib/em-apn/server.rb,
lib/em-apn/version.rb,
lib/em-apn/response.rb,
lib/em-apn/connection.rb,
lib/em-apn/log_message.rb,
lib/em-apn/test_helper.rb,
lib/em-apn/notification.rb,
lib/em-apn/error_response.rb

Defined Under Namespace

Modules: Server Classes: Client, Connection, ErrorResponse, LogMessage, Notification, Response

Constant Summary collapse

VERSION =
"0.0.3"

Class Method Summary collapse

Class Method Details

.deliveriesObject



22
23
24
# File 'lib/em-apn/test_helper.rb', line 22

def self.deliveries
  @deliveries ||= []
end

.loggerObject



15
16
17
# File 'lib/em-apn.rb', line 15

def self.logger
  @logger ||= Logger.new(STDOUT)
end

.logger=(new_logger) ⇒ Object



19
20
21
# File 'lib/em-apn.rb', line 19

def self.logger=(new_logger)
  @logger = new_logger
end