Method: Bixby::WebSocket::APIChannel#initialize
- Defined in:
- lib/bixby-common/websocket/api_channel.rb
#initialize(ws, handler) ⇒ APIChannel
Returns a new instance of APIChannel.
16 17 18 19 20 21 |
# File 'lib/bixby-common/websocket/api_channel.rb', line 16 def initialize(ws, handler) @ws = ws @handler = handler @responses = {} @connected = false end |