Class: Dtn::Streaming::Request
- Inherits:
-
Object
- Object
- Dtn::Streaming::Request
- Defined in:
- lib/dtn/streaming/request.rb
Overview
Request abstraction
Direct Known Subclasses
Dtn::Streaming::Requests::Admin::RegisterClientApp, Dtn::Streaming::Requests::Admin::RemoveClientApp, Dtn::Streaming::Requests::Admin::SaveLoginInfo, Dtn::Streaming::Requests::Admin::SetAutoconnect, Dtn::Streaming::Requests::Admin::SetClientStats, Dtn::Streaming::Requests::Admin::SetLoginid, Dtn::Streaming::Requests::Admin::SetPassword, Dtn::Streaming::Requests::Bar::Unwatch, Dtn::Streaming::Requests::Bar::UnwatchAll, Dtn::Streaming::Requests::Bar::Watch, Dtn::Streaming::Requests::Bar::Watches, Dtn::Streaming::Requests::Level2::Connect, Dtn::Streaming::Requests::Level2::Disconnect, Dtn::Streaming::Requests::Level2::MarketMakerById, Dtn::Streaming::Requests::Level2::Unwatch, Dtn::Streaming::Requests::Level2::Watch, Dtn::Streaming::Requests::Quote::AllUpdateFieldnames, Dtn::Streaming::Requests::Quote::Connect, Dtn::Streaming::Requests::Quote::CurrentUpdateFieldnames, Dtn::Streaming::Requests::Quote::FundamentalFieldnames, Dtn::Streaming::Requests::Quote::NewsSwitch, Dtn::Streaming::Requests::Quote::Refresh, Dtn::Streaming::Requests::Quote::RegionalSwitch, Dtn::Streaming::Requests::Quote::SetClientName, Dtn::Streaming::Requests::Quote::SetProtocol, Dtn::Streaming::Requests::Quote::Timestamp, Dtn::Streaming::Requests::Quote::TimestampSwitch, Dtn::Streaming::Requests::Quote::Trades, Dtn::Streaming::Requests::Quote::Unwatch, Dtn::Streaming::Requests::Quote::UnwatchAll, Dtn::Streaming::Requests::Quote::UpdateFields, Dtn::Streaming::Requests::Quote::Watch, Dtn::Streaming::Requests::Quote::Watches
Instance Method Summary collapse
-
#call ⇒ Object
Initialize the request to api, should be used in children classes only.
-
#initialize(client:) ⇒ Request
constructor
A new instance of Request.
Constructor Details
#initialize(client:) ⇒ Request
Returns a new instance of Request.
7 8 9 |
# File 'lib/dtn/streaming/request.rb', line 7 def initialize(client:) @client = client end |
Instance Method Details
#call ⇒ Object
Initialize the request to api, should be used in children classes only
14 15 16 |
# File 'lib/dtn/streaming/request.rb', line 14 def call(*) raise NotImplementedError end |