Sha256: 66693ebe68405ab1ff3ab4e66e51251693d362d292da61027561b6cedcc9fd60

Contents?: true

Size: 1.42 KB

Versions: 31

Compression:

Stored size: 1.42 KB

Contents

require 'xsd/qname'

module XSD; module XSD2Ruby


# {urn:mysample}question
#   something - SOAP::SOAPString
class Question
  attr_accessor :something

  def initialize(something = nil)
    @something = something
  end
end

# {urn:mysample}section
#   sectionID - SOAP::SOAPInt
#   name - SOAP::SOAPString
#   description - SOAP::SOAPString
#   index - SOAP::SOAPInt
#   firstQuestion - XSD::XSD2Ruby::Question
class Section
  attr_accessor :sectionID
  attr_accessor :name
  attr_accessor :description
  attr_accessor :index
  attr_accessor :firstQuestion

  def initialize(sectionID = nil, name = nil, description = nil, index = nil, firstQuestion = nil)
    @sectionID = sectionID
    @name = name
    @description = description
    @index = index
    @firstQuestion = firstQuestion
  end
end

# {urn:mysample}sectionArray
class SectionArray < ::Array
end

# {urn:mysample}sectionElement
#   sectionID - SOAP::SOAPInt
#   name - SOAP::SOAPString
#   description - SOAP::SOAPString
#   index - SOAP::SOAPInt
#   firstQuestion - XSD::XSD2Ruby::Question
class SectionElement
  attr_accessor :sectionID
  attr_accessor :name
  attr_accessor :description
  attr_accessor :index
  attr_accessor :firstQuestion

  def initialize(sectionID = nil, name = nil, description = nil, index = nil, firstQuestion = nil)
    @sectionID = sectionID
    @name = name
    @description = description
    @index = index
    @firstQuestion = firstQuestion
  end
end


end; end

Version data entries

31 entries across 31 versions & 13 rubygems

Version Path
rubyjedi-soap4r-1.5.8.20100616125722 test/xsd/xsd2ruby/expected_mysample.rb
rubyjedi-soap4r-1.5.8.01 test/xsd/xsd2ruby/expected_mysample.rb
etapper-0.0.5 vendor/gems/soap4r-1.5.8.2/test/xsd/xsd2ruby/expected_mysample.rb
etapper-0.0.4 vendor/gems/soap4r-1.5.8.2/test/xsd/xsd2ruby/expected_mysample.rb
etapper-0.0.3 vendor/gems/soap4r-1.5.8.2/test/xsd/xsd2ruby/expected_mysample.rb
etapper-0.0.2 vendor/gems/soap4r-1.5.8.2/test/xsd/xsd2ruby/expected_mysample.rb
mumboe-soap4r-1.5.8.3 test/xsd/xsd2ruby/expected_mysample.rb
mumboe-soap4r-1.5.8.2 test/xsd/xsd2ruby/expected_mysample.rb
etapper-0.0.1 vendor/gems/soap4r-1.5.8.2/test/xsd/xsd2ruby/expected_mysample.rb
etapper-0.0.0 vendor/gems/soap4r-1.5.8.2/test/xsd/xsd2ruby/expected_mysample.rb
soap4r-1.5.8 test/xsd/xsd2ruby/expected_mysample.rb