Class: WSDL::SOAP::WSDL2Ruby
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.
43 44 45 |
# File 'lib/wsdl/soap/wsdl2ruby.rb', line 43 def basedir @basedir end |
#location ⇒ Object
Returns the value of attribute location.
40 41 42 |
# File 'lib/wsdl/soap/wsdl2ruby.rb', line 40 def location @location end |
#logger ⇒ Object
Returns the value of attribute logger.
42 43 44 |
# File 'lib/wsdl/soap/wsdl2ruby.rb', line 42 def logger @logger end |
#opt ⇒ Object (readonly)
Returns the value of attribute opt.
41 42 43 |
# File 'lib/wsdl/soap/wsdl2ruby.rb', line 41 def opt @opt end |
Instance Method Details
#run ⇒ Object
45 46 47 48 49 50 51 52 53 54 55 56 |
# File 'lib/wsdl/soap/wsdl2ruby.rb', line 45 def run unless @location raise RuntimeError, "WSDL location not given" end @wsdl = import(@location) if @opt['classdef'] @name = @opt['classdef'] else @name = @wsdl.name ? @wsdl.name.name : 'default' end create_file end |