module Reuters::Wsdls::Base::ClassMethods

Class based methods that are set in every module that includes this base module.

Public Instance Methods

configure() { |self| ... } click to toggle source

Enables this WSDL to be configured by passing in itself as a block which enables static variables to be set.

@yield [config] The WSDL to be configured.

# File lib/reuters/wsdls/base.rb, line 27
def configure
  yield self
end
endpoint() click to toggle source

Returns the fully resolved WSDL endpoint for the including Module.

@return [String] the fully resolved wsdl endpoint

(including http://...)
# File lib/reuters/wsdls/base.rb, line 18
def endpoint
  "#{Reuters.wsdl_endpoint}/#{name}/wsdl/#{method}"
end