Class: PushyDaemon::Endpoint
- Inherits:
-
Object
- Object
- PushyDaemon::Endpoint
- Defined in:
- lib/pushyd/endpoint.rb
Instance Method Summary collapse
-
#initialize ⇒ Endpoint
constructor
A new instance of Endpoint.
Constructor Details
#initialize ⇒ Endpoint
Returns a new instance of Endpoint.
13 14 15 16 17 18 19 20 |
# File 'lib/pushyd/endpoint.rb', line 13 def initialize # Prepare logger (may be NIL > won't output anything) logfile = Config[:log] # Create the logger @logger = PushyLogger.new(logfile, LOG_ROTATION) @logger.add Logger::INFO, "starting #{self.class.name.to_s}" end |