File: expectedClassDef.rb

package info (click to toggle)
ruby-soap4r 2.0.5-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,032 kB
  • sloc: ruby: 52,729; xml: 266; sh: 42; javascript: 20; makefile: 13; perl: 10
file content (100 lines) | stat: -rw-r--r-- 2,448 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
require 'xsd/qname'

module WSDL; module RAA


# {http://www.ruby-lang.org/xmlns/soap/interface/RAA/0.0.2/}Category
#   major - SOAP::SOAPString
#   minor - SOAP::SOAPString
class Category
  attr_accessor :major
  attr_accessor :minor

  def initialize(major = nil, minor = nil)
    @major = major
    @minor = minor
  end
end

# {http://www.ruby-lang.org/xmlns/soap/interface/RAA/0.0.2/}Product
#   id - SOAP::SOAPInt
#   name - SOAP::SOAPString
#   short_description - SOAP::SOAPString
#   version - SOAP::SOAPString
#   status - SOAP::SOAPString
#   homepage - SOAP::SOAPAnyURI
#   download - SOAP::SOAPAnyURI
#   license - SOAP::SOAPString
#   description - SOAP::SOAPString
class Product
  attr_accessor :id
  attr_accessor :name
  attr_accessor :short_description
  attr_accessor :version
  attr_accessor :status
  attr_accessor :homepage
  attr_accessor :download
  attr_accessor :license
  attr_accessor :description

  def initialize(id = nil, name = nil, short_description = nil, version = nil, status = nil, homepage = nil, download = nil, license = nil, description = nil)
    @id = id
    @name = name
    @short_description = short_description
    @version = version
    @status = status
    @homepage = homepage
    @download = download
    @license = license
    @description = description
  end
end

# {http://www.ruby-lang.org/xmlns/soap/interface/RAA/0.0.2/}Owner
#   id - SOAP::SOAPInt
#   email - SOAP::SOAPAnyURI
#   name - SOAP::SOAPString
class Owner
  attr_accessor :id
  attr_accessor :email
  attr_accessor :name

  def initialize(id = nil, email = nil, name = nil)
    @id = id
    @email = email
    @name = name
  end
end

# {http://www.ruby-lang.org/xmlns/soap/interface/RAA/0.0.2/}Info
#   category - WSDL::RAA::Category
#   product - WSDL::RAA::Product
#   owner - WSDL::RAA::Owner
#   created - SOAP::SOAPDateTime
#   updated - SOAP::SOAPDateTime
class Info
  attr_accessor :category
  attr_accessor :product
  attr_accessor :owner
  attr_accessor :created
  attr_accessor :updated

  def initialize(category = nil, product = nil, owner = nil, created = nil, updated = nil)
    @category = category
    @product = product
    @owner = owner
    @created = created
    @updated = updated
  end
end

# {http://www.ruby-lang.org/xmlns/soap/interface/RAA/0.0.2/}InfoArray
class InfoArray < ::Array
end

# {http://www.ruby-lang.org/xmlns/soap/interface/RAA/0.0.2/}StringArray
class StringArray < ::Array
end


end; end