Class: Dtn::Streaming::Requests::Level2::Unwatch

Inherits:
Dtn::Streaming::Request show all
Defined in:
lib/dtn/streaming/requests/level2/unwatch.rb

Overview

Stop watching a symbol.

:param symbol: A valid symbol for a security or derivative.

Instance Method Summary collapse

Methods inherited from Dtn::Streaming::Request

#initialize

Constructor Details

This class inherits a constructor from Dtn::Streaming::Request

Instance Method Details

#call(symbol:) ⇒ Object



11
12
13
# File 'lib/dtn/streaming/requests/level2/unwatch.rb', line 11

def call(symbol:)
  socket.puts "r#{symbol.upcase}\r\n"
end