Class: Dtn::Streaming::Requests::Admin::SaveLoginInfo
- Inherits:
-
Dtn::Streaming::Request
- Object
- Dtn::Streaming::Request
- Dtn::Streaming::Requests::Admin::SaveLoginInfo
- Defined in:
- lib/dtn/streaming/requests/admin/save_login_info.rb
Overview
Tells IQFeed to save the login info
:param turned_on: True means save info, False means don’t
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(turned_on: true) ⇒ Object
11 12 13 |
# File 'lib/dtn/streaming/requests/admin/save_login_info.rb', line 11 def call(turned_on: true, **) socket.puts "S,SET SAVE LOGIN INFO,#{turned_on ? "On" : "Off"}\r\n" end |