Class: StickyElephant::Handler::Base
- Inherits:
-
Object
- Object
- StickyElephant::Handler::Base
- Includes:
- LogInterface
- Defined in:
- lib/sticky_elephant/handler/base.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(payload, socket:, logger:) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(payload, socket:, logger:) ⇒ Base
Returns a new instance of Base.
6 7 8 9 10 |
# File 'lib/sticky_elephant/handler/base.rb', line 6 def initialize(payload, socket: , logger: ) @payload = payload @socket = socket @logger = logger end |