Class: BmcDaemonLib::MqEndpoint
- Inherits:
-
Object
- Object
- BmcDaemonLib::MqEndpoint
- Includes:
- LoggerHelper
- Defined in:
- lib/bmc-daemon-lib/mq_endpoint.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#logger ⇒ Object
Returns the value of attribute logger.
Instance Method Summary collapse
-
#initialize(channel, *args) ⇒ MqEndpoint
constructor
A new instance of MqEndpoint.
Constructor Details
#initialize(channel, *args) ⇒ MqEndpoint
Returns a new instance of MqEndpoint.
7 8 9 10 11 |
# File 'lib/bmc-daemon-lib/mq_endpoint.rb', line 7 def initialize channel, *args # Init @channel = channel log_info "MqEndpoint on channel [#{@channel.id}]" end |
Instance Attribute Details
#logger ⇒ Object
Returns the value of attribute logger.
5 6 7 |
# File 'lib/bmc-daemon-lib/mq_endpoint.rb', line 5 def logger @logger end |