Class: PushyDaemon::Endpoint
- Inherits:
-
Object
- Object
- PushyDaemon::Endpoint
- Includes:
- Shared::LoggerHelper
- Defined in:
- lib/pushyd/endpoint.rb
Constant Summary
Constants included from Shared::LoggerHelper
Shared::LoggerHelper::CONFIG_PATH
Instance Attribute Summary collapse
-
#logger ⇒ Object
readonly
Returns the value of attribute logger.
Instance Method Summary collapse
-
#initialize ⇒ Endpoint
constructor
A new instance of Endpoint.
Methods included from Shared::LoggerHelper
Constructor Details
#initialize ⇒ Endpoint
Returns a new instance of Endpoint.
14 15 16 17 18 19 20 |
# File 'lib/pushyd/endpoint.rb', line 14 def initialize # Prepare logger init_logger Conf[:logs] # Done log_info "endpoint initialized" end |
Instance Attribute Details
#logger ⇒ Object (readonly)
Returns the value of attribute logger.
12 13 14 |
# File 'lib/pushyd/endpoint.rb', line 12 def logger @logger end |