Method: OData::Model::Persistence#save
- Defined in:
- lib/odata/model/persistence.rb
#save ⇒ Object
Save the current model.
37 38 39 40 41 |
# File 'lib/odata/model/persistence.rb', line 37 def save self.class.odata_service[odata_entity_set_name] << odata_entity instance_variable_set(:@persisted, true) unless odata_entity.any_errors? #changes_applied end |