lib/lolsoap/wsdl/element.rb in lolsoap-0.1.3 vs lib/lolsoap/wsdl/element.rb in lolsoap-0.1.4
- old
+ new
@@ -8,10 +8,10 @@
@type_name = type_name
@singular = singular
end
def type
- wsdl.type(@type_name.split(':').last)
+ @type ||= wsdl.type(@type_name.split(':').last)
end
def singular?
@singular == true
end