Class: LolSoap::WSDL::NamedTypeReference

Inherits:
Object
  • Object
show all
Defined in:
lib/lolsoap/wsdl/named_type_reference.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(namespace, name, wsdl) ⇒ NamedTypeReference

Returns a new instance of NamedTypeReference.



5
6
7
8
9
# File 'lib/lolsoap/wsdl/named_type_reference.rb', line 5

def initialize(namespace, name, wsdl)
  @namespace = namespace
  @name      = name
  @wsdl      = wsdl
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



3
4
5
# File 'lib/lolsoap/wsdl/named_type_reference.rb', line 3

def name
  @name
end

#namespaceObject (readonly)

Returns the value of attribute namespace.



3
4
5
# File 'lib/lolsoap/wsdl/named_type_reference.rb', line 3

def namespace
  @namespace
end

#wsdlObject (readonly)

Returns the value of attribute wsdl.



3
4
5
# File 'lib/lolsoap/wsdl/named_type_reference.rb', line 3

def wsdl
  @wsdl
end

Instance Method Details

#typeObject



11
12
13
# File 'lib/lolsoap/wsdl/named_type_reference.rb', line 11

def type
  wsdl.type(namespace, name)
end