Class: Well::AttributeUpdater::Volume
- Defined in:
- app/models/well/attribute_updater.rb
Overview
Updated the well volume in ul
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#initialize, #original_value, #resource, #target_value
Constructor Details
This class inherits a constructor from Well::AttributeUpdater::Base
Instance Method Details
#update ⇒ Object
67 68 69 70 |
# File 'app/models/well/attribute_updater.rb', line 67 def update well.measured_volume = target_value well.save end |