Method: Frodo::Schema#complex_types
- Defined in:
- lib/frodo/schema.rb
#complex_types ⇒ Hash<String, Frodo::Schema::ComplexType>
Returns a list of ‘ComplexType`s defined by the schema.
51 52 53 54 55 56 57 58 |
# File 'lib/frodo/schema.rb', line 51 def complex_types @complex_types ||= .xpath('//ComplexType').map do |entity| [ entity.attributes['Name'].value, ComplexType.new(entity, self) ] end.to_h end |