Class: Reuters::Client::Search::All
- Defined in:
- lib/reuters/client/search/all.rb
Overview
All Equity Search XML Requests require that the appropriate xmlns attribute is present on elements inside the request element. This class uses the before_request hook to inject the appropriate attribute.
Performs a “Search All” Reuters API request. This particular requests allows you to search for all types of listings, such as Equities, Derivatives and Funds.
Instance Method Summary collapse
-
#data_type ⇒ String
Retrieve the correctly formatted Namespace Data Type for an Equity-based Search Reuters Request.
-
#query_spec ⇒ String
Retrieve the correctly formatted Namespace Query Specification for an Equity-based Search.
Methods inherited from Equity
Methods inherited from Base
Methods inherited from Base
#after_request, #before_request, #client, #initialize, #method_missing, #request
Constructor Details
This class inherits a constructor from Reuters::Client::Search::Equity
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Reuters::Client::Base
Instance Method Details
#data_type ⇒ String
Retrieve the correctly formatted Namespace Data Type for an Equity-based Search Reuters Request.
18 19 20 |
# File 'lib/reuters/client/search/all.rb', line 18 def data_type ns_definition(:query_spec_datatypes) end |
#query_spec ⇒ String
Retrieve the correctly formatted Namespace Query Specification for an Equity-based Search.
26 27 28 |
# File 'lib/reuters/client/search/all.rb', line 26 def query_spec ns_definition(:searchall, :query_spec, 1) end |