Method: OData::Model::Configuration::ClassMethods#odata_entity_set

Defined in:
lib/odata/model/configuration.rb

#odata_entity_setOData::EntitySet

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns the OData::EntitySet the current model is related to.

Returns:

API:

  • private



125
126
127
# File 'lib/odata/model/configuration.rb', line 125

def odata_entity_set
  odata_config[:entity_set] ||= odata_service[odata_entity_set_name]
end