Method: OData::Service#entity_types

Defined in:
lib/odata/service.rb

#entity_typesObject

Returns a list of entities exposed by the service



40
41
42
# File 'lib/odata/service.rb', line 40

def entity_types
  @entity_types ||= .xpath('//EntityType').collect {|entity| entity.attributes['Name'].value}
end