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(name, wsdl) ⇒ NamedTypeReference

Returns a new instance of NamedTypeReference.



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

def initialize(name, wsdl)
  @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

#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



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

def type
  wsdl.type(name)
end