Method: OData::Model::Configuration::ClassMethods#odata_service_name

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

#odata_service_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 name of the OData::Service used.

Returns:

  • (String)


92
93
94
# File 'lib/odata/model/configuration.rb', line 92

def odata_service_name
  odata_config[:service].name
end