Method: Frodo::Schema#entity_types
- Defined in:
- lib/frodo/schema.rb
#entity_types ⇒ Array<String>
Returns a list of entities defined by the schema.
43 44 45 46 47 |
# File 'lib/frodo/schema.rb', line 43 def entity_types @entity_types ||= .xpath('//EntityType').map do |entity| entity.attributes['Name'].value end end |