Sha256: 9b2344c1ce9a5528e6d1c82b5871d5dd181d3cdb3da420e6e76511549967ec73
Contents?: true
Size: 503 Bytes
Versions: 2
Compression:
Stored size: 503 Bytes
Contents
class LolSoap::WSDL class Element attr_reader :name def initialize(wsdl, name, type_name, singular = true) @wsdl = wsdl @name = name @type_name = type_name @singular = singular end def type wsdl.type(@type_name.split(':').last) end def singular? @singular == true end def inspect "<LolSoap::WSDL::Element name=#{name.inspect} type=#{@type_name.inspect}>" end private def wsdl; @wsdl; end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
lolsoap-0.1.1 | lib/lolsoap/wsdl/element.rb |
lolsoap-0.1.0 | lib/lolsoap/wsdl/element.rb |