Class: Reuters::Client::Search::Base
- Defined in:
- lib/reuters/client/search/base.rb
Overview
The base class for the search client is not meant to be directly initialized but instead contains common functionality shared by all Search Clients.
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize ⇒ Base
constructor
A new instance of Base.
Methods inherited from Base
#after_request, #before_request, #client, #method_missing, #request
Constructor Details
#initialize ⇒ Base
Returns a new instance of Base.
9 10 11 12 13 14 |
# File 'lib/reuters/client/search/base.rb', line 9 def initialize # Re-define namespace and wsdl to be scoped to search @namespace = Reuters::Namespaces::Search.const_get client_name @wsdl = Reuters::Wsdls::Search.const_get client_name @token = Reuters::Client::Token.new end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Reuters::Client::Base