Class: EventMachine::APN::LogMessage

Inherits:
Object
  • Object
show all
Defined in:
lib/em-apn/log_message.rb

Instance Method Summary (collapse)

Constructor Details

- (LogMessage) initialize(response)

A new instance of LogMessage



4
5
6
# File 'lib/em-apn/log_message.rb', line 4

def initialize(response)
  @response = response
end

Instance Method Details

- (Object) log



8
9
10
# File 'lib/em-apn/log_message.rb', line 8

def log
  EM::APN.logger.info(@response.to_s)
end