Method: Soaspec::WsdlGenerator#enumeration?
- Defined in:
- lib/soaspec/wsdl_generator.rb
#enumeration?(type) ⇒ Boolean
Returns Whether WSDL type is an enumeration.
25 26 27 28 29 |
# File 'lib/soaspec/wsdl_generator.rb', line 25 def enumeration?(type) return false unless type.first !type.xpath("*/#{type.first.namespace.prefix}:enumeration").empty? end |