Class: EventMachine::Kannel::LogMessage
- Inherits:
-
Object
- Object
- EventMachine::Kannel::LogMessage
- Defined in:
- lib/em-kannel/log_message.rb
Instance Method Summary collapse
-
#initialize(message, response) ⇒ LogMessage
constructor
A new instance of LogMessage.
- #log ⇒ Object
Constructor Details
#initialize(message, response) ⇒ LogMessage
Returns a new instance of LogMessage.
4 5 6 |
# File 'lib/em-kannel/log_message.rb', line 4 def initialize(, response) @message, @response = , response end |
Instance Method Details
#log ⇒ Object
8 9 10 |
# File 'lib/em-kannel/log_message.rb', line 8 def log EM::Kannel.logger.info() end |