In Files

  • wsdl/soap/wsdl2ruby.rb

Parent

Methods

Class/Module Index [+]

Quicksearch

WSDL::SOAP::WSDL2Ruby

Attributes

basedir[RW]
location[RW]
logger[RW]
opt[R]

Public Class Methods

new() click to toggle source
 
               # File wsdl/soap/wsdl2ruby.rb, line 41
def initialize
  @location = nil
  @opt = {}
  @logger = Logger.new(STDERR)
  @basedir = nil
  @wsdl = nil
  @name = nil
end
            

Public Instance Methods

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