Class: Dtn::Streaming::Requests::Admin::SetPassword
- Inherits:
-
Dtn::Streaming::Request
- Object
- Dtn::Streaming::Request
- Dtn::Streaming::Requests::Admin::SetPassword
- Defined in:
- lib/dtn/streaming/requests/admin/set_password.rb
Overview
Set the user password.
:param password: IQFeed subscriber’s pwd
The user of the app must have a subscription to IQFeed. Pass the user’s password 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(password:) ⇒ Object
14 15 16 |
# File 'lib/dtn/streaming/requests/admin/set_password.rb', line 14 def call(password:) socket.puts "S,SET PASSWORD,#{password}\r\n" end |