Module: Reuters::Wsdls::Base::ClassMethods
- Included in:
- Reuters::Wsdls::Base
- Defined in:
- lib/reuters/wsdls/base.rb
Overview
Class based methods that are set in every module that includes this base module.
Instance Method Summary collapse
-
#configure {|config| ... } ⇒ Object
Enables this WSDL to be configured by passing in itself as a block which enables static variables to be set.
-
#endpoint ⇒ String
Returns the fully resolved WSDL endpoint for the including Module.
Instance Method Details
#configure {|config| ... } ⇒ Object
Enables this WSDL to be configured by passing in itself as a block which enables static variables to be set.
27 28 29 |
# File 'lib/reuters/wsdls/base.rb', line 27 def configure yield self end |
#endpoint ⇒ String
Returns the fully resolved WSDL endpoint for the including Module.
18 19 20 |
# File 'lib/reuters/wsdls/base.rb', line 18 def endpoint "#{Reuters.wsdl_endpoint}/#{name}/wsdl/#{method}" end |