Class: Dtn::Messages::Quote::Level1Summary
- Inherits:
-
MessageWithSimpleParser
- Object
- OpenStruct
- Dtn::Message
- MessageWithSimpleParser
- Dtn::Messages::Quote::Level1Summary
- Defined in:
- lib/dtn/messages/quote/level1_summary.rb
Overview
Streaming level1 dynamic data. Always return full dataset
Class Method Summary collapse
Methods inherited from MessageWithSimpleParser
Methods inherited from Dtn::Message
Class Method Details
.parse(line:) ⇒ Object
10 11 12 13 14 |
# File 'lib/dtn/messages/quote/level1_summary.rb', line 10 def parse(line:, **) new.tap do |n| apply_values instance: n, attributes: Level1::ALL_FIELDS, values: line.split(",") end end |