Method: OData::Model::Configuration::ClassMethods#odata_entity_set_name

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

#odata_entity_set_nameString

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 entity set name this model is related to.

Returns:

  • (String)


118
119
120
# File 'lib/odata/model/configuration.rb', line 118

def odata_entity_set_name
  odata_config[:entity_set_name] ||= self.name.pluralize
end