Class: Dtn::Streaming::Requests::Admin::SetLoginid
- Inherits:
-
Dtn::Streaming::Request
- Object
- Dtn::Streaming::Request
- Dtn::Streaming::Requests::Admin::SetLoginid
- Defined in:
- lib/dtn/streaming/requests/admin/set_loginid.rb
Overview
Set the user login.
:param login: IQFeed subscriber’s login
The user of the app must have a subscription to IQFeed. Pass the user’s login either here or in cmd line options when IQFeed is started.
Instance Method Summary collapse
Methods inherited from Dtn::Streaming::Request
Constructor Details
This class inherits a constructor from Dtn::Streaming::Request
Instance Method Details
#call(loginid:) ⇒ Object
14 15 16 |
# File 'lib/dtn/streaming/requests/admin/set_loginid.rb', line 14 def call(loginid:) socket.puts "S,SET LOGINID,#{loginid}\r\n" end |