Method: OData::Model::Configuration::ClassMethods#odata_config
- Defined in:
- lib/odata/model/configuration.rb
#odata_config ⇒ Hash
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 configuration for working with the OData gem.
106 107 108 109 110 111 112 113 |
# File 'lib/odata/model/configuration.rb', line 106 def odata_config if class_variable_defined?(:@@odata_config) class_variable_get(:@@odata_config) else class_variable_set(:@@odata_config, {}) class_variable_get(:@@odata_config) end end |