Class: EventMachine::APN::LogMessage

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

Instance Method Summary collapse

Constructor Details

#initialize(response) ⇒ LogMessage

Returns 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

#logObject



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

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