Class: Dtn::Lookups::Symbol::ByNaic
- Defined in:
- lib/dtn/lookups/symbol/by_naic.rb
Overview
Symbol lookup by NAIC
Constant Summary collapse
- TEMPLATE =
"SBN,%<search_line>s,%<id>d"
Constants inherited from Request
Request::END_OF_MESSAGE_CHARACTERS, Request::NO_DATA_CHARACTERS, Request::PORT, Request::SYNTAX_ERROR_CHARACTERS
Instance Attribute Summary
Attributes inherited from Request
Instance Method Summary collapse
-
#call(search_line:, **options) ⇒ Object
Return symbols in a specific NAIC sector.
Methods inherited from Request
Methods included from Concerns::Id
Instance Method Details
#call(search_line:, **options) ⇒ Object
Return symbols in a specific NAIC sector.
Example messages
SBN,[Search String],[RequestID]<CR><LF>
15 16 17 18 19 20 21 22 |
# File 'lib/dtn/lookups/symbol/by_naic.rb', line 15 def call(search_line:, **) self. = defaults(**).merge( { search_line: search_line } ) super end |