class Reuters::Client::Search::Base

The base class for the search client is not meant to be directly initialized but instead contains common functionality shared by all Search Clients.

Public Class Methods

new() click to toggle source
# 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

Private Instance Methods

ns_definition(*args) click to toggle source
# File lib/reuters/client/search/base.rb, line 18
def ns_definition(*args)
  Reuters::Namespaces::Search.define(*args)
end