class LolSoap::WSDL::OperationIOPart
Public Class Methods
new(wsdl, name, type_reference)
click to toggle source
Calls superclass method
LolSoap::WSDL::Element::new
# File lib/lolsoap/wsdl/operation_io_part.rb, line 3 def initialize(wsdl, name, type_reference) super(wsdl, name, 'soap', type_reference) end
Public Instance Methods
content()
click to toggle source
# File lib/lolsoap/wsdl/operation_io_part.rb, line 11 def content if single_part? type.element(type.elements.keys.first) end end
content_type()
click to toggle source
# File lib/lolsoap/wsdl/operation_io_part.rb, line 17 def content_type if content content.type else type end end
single_part?()
click to toggle source
# File lib/lolsoap/wsdl/operation_io_part.rb, line 7 def single_part? type.elements.size == 1 end