Class: WSDL::SOAP::WSDL2Ruby
- Defined in:
- lib/action_web_service/wsdl/soap/wsdl2ruby.rb
Instance Attribute Summary collapse
-
#basedir ⇒ Object
Returns the value of attribute basedir.
-
#location ⇒ Object
Returns the value of attribute location.
-
#logger ⇒ Object
Returns the value of attribute logger.
-
#opt ⇒ Object
readonly
Returns the value of attribute opt.
Instance Method Summary collapse
Instance Attribute Details
#basedir ⇒ Object
Returns the value of attribute basedir.
28 29 30 |
# File 'lib/action_web_service/wsdl/soap/wsdl2ruby.rb', line 28 def basedir @basedir end |
#location ⇒ Object
Returns the value of attribute location.
25 26 27 |
# File 'lib/action_web_service/wsdl/soap/wsdl2ruby.rb', line 25 def location @location end |
#logger ⇒ Object
Returns the value of attribute logger.
27 28 29 |
# File 'lib/action_web_service/wsdl/soap/wsdl2ruby.rb', line 27 def logger @logger end |
#opt ⇒ Object (readonly)
Returns the value of attribute opt.
26 27 28 |
# File 'lib/action_web_service/wsdl/soap/wsdl2ruby.rb', line 26 def opt @opt end |
Instance Method Details
#run ⇒ Object
30 31 32 33 34 35 36 37 |
# File 'lib/action_web_service/wsdl/soap/wsdl2ruby.rb', line 30 def run unless @location raise RuntimeError, "WSDL location not given" end @wsdl = import(@location) @name = @wsdl.name ? @wsdl.name.name : 'default' create_file end |