Class: Well::AttributeUpdater::Volume

Inherits:
Base
  • Object
show all
Defined in:
app/models/well/attribute_updater.rb

Overview

Updated the well volume in ul

Instance Attribute Summary

Attributes inherited from Base

#qc_result, #well

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

#updateObject



67
68
69
70
# File 'app/models/well/attribute_updater.rb', line 67

def update
  well.measured_volume = target_value
  well.save
end